A diagonal key with a square bow and a cut bit, for tokens, licences and permissions. On a 24×24 grid in stroke, duotone and fill, free under MIT.

ActionsNewv0.8.0Added
Drawn byKeyline Icons
16
20
24 px
32
24px
2px
<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="M6 14.5L2.2929 18.2071C2.1054 18.3946 2 18.649 2 18.9142L2 20C2 21.1046 2.8954 22 4 22L5.0858 22C5.351 22 5.6054 21.8946 5.7929 21.7071L6.8536 20.6464C6.9473 20.5527 7.0745 20.5 7.2071 20.5L9 20.5C9.2761 20.5 9.5 20.2761 9.5 20L9.5 18.5C9.5 18.2239 9.7239 18 10 18L11.5 18C11.7761 18 12 17.7761 12 17.5L12 15.7071C12 15.5745 12.0527 15.4473 12.1464 15.3536L13.2071 14.2929C13.3946 14.1054 13.649 14 13.9142 14L19 14C20.6569 14 22 12.6569 22 11L22 5C22 3.3431 20.6569 2 19 2L13 2C11.3431 2 10 3.3431 10 5L10 10.0858C10 10.351 9.8946 10.6054 9.7071 10.7929ZM15 9L17 7" fill="none"/>
</svg>

Also called

What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.

  • unlock
  • access
  • token
  • licence
  • permission
  • credentials
  • security

Related icons

The rest of the key family first, then the Actions shelf.

FAQ

Answered from key-square's own facts: its shelf, the weights it was drawn in, its siblings and its dates.

What is the key-square icon for?
A diagonal key with a square bow and a cut bit, for tokens, licences and permissions. It is filed under Actions in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as unlock, access, token, licence, permission, credentials and security, and the browser's search matches all of those.
What styles does the key-square icon come in?
All three: stroke, duotone and fill. They are drawn from the same geometry, so swapping weight never moves anything.
Is there a square or circle version of key-square?
No. key-square is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with key-square?
key, key-round, alert, badge, badge-alert and badge-check, and 12 more, all shown below. The key family is listed first, then the rest of the Actions shelf, so the row under this one is the useful one even where a shelf runs long.
How do I import key-square in React?
<KeySquare /> is the component, and the weight decides the module: stroke from "@keyline-icons/react", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <KeySquare size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the key-square SVG?
icons/stroke/key-square.svg, icons/duotone/key-square.svg and icons/fill/key-square.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
When was key-square added to the set?
Added 11 Sept 2026. It ships in v0.8.0, so an install at that version or later has it.

Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.