- Category
- shape
- Styles
- Outline
- Component
- IconSquareKey
- License
- MIT · Paweł Kuna
- Files
-
outline/square-key.svg
Square Key icon
Download the Square Key icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- key
- password
- access
- lock
- square
- security
- protection
Size
Stroke
Color
Code
Copy it the way you use it
square-key.svg
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 10a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" />
<path d="M12.5 11.5l-4 4l1.5 1.5" />
<path d="M12 15l-1.5 -1.5" />
<path d="M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14" />
</svg> Use the Square Key icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconSquareKey } from '@tabler/icons-react';
<IconSquareKey size={24} stroke={2} />Read the React guideVue example
import { IconSquareKey } from '@tabler/icons-vue';
<IconSquareKey :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconSquareKey } from '@tabler/icons-svelte-runes';
<IconSquareKey size={24} stroke={2} />Read the Svelte guideRelated