import { Unlock } from "fmicon-react";
<Unlock size={24} variant="glass" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | string | 24 | Width and height in pixels |
variant | "linear" | "bold" | … | linear | Any of the 8 styles, plus glass-light for light backgrounds |
color | string | currentColor | Any CSS colour; inherits the text colour by default |
strokeWidth | number | 1.5 | Line weight for linear, twotone, broken and duotone |
...props | SVG attributes | – | className, aria-label, onClick and the rest |
More in Security
What is the Unlock Icon?
This unlock icon shows an open padlock, its shackle lifted and released on one side. It means something is accessible or editable: a feature now available, a document open to edits, a vault that has been opened or a button that removes a restriction after someone confirms who they are.
The raised shackle tells people the lock has been released, so the icon reads as access granted or protection off. Context matters: in a security setting an open padlock can be a warning that something is exposed, while in a game or course it can celebrate new content. It is the paired state of the closed lock, and the two should share the same body shape.
When to Use the Unlock Icon
- Password manager vault: shows the vault is open, with a button to lock it again before stepping away.
- Shared spreadsheet: marks cells or sheets anyone can edit, next to locked ranges that need permission.
- Learning app course map: highlights lessons now open after the learner finishes the previous unit.
- Phone settings: flags apps with access to location or camera that may need a review.
The Unlock Icon in Glass Style
Glass icons have built-in gradients, highlights and a frosted layer, so they look like small 3D objects. They keep their own colours and ship in separate tones for light and dark backgrounds.
Best for: app tiles, hero sections, feature highlights and anywhere an icon is the star.
The same icon also comes in linear, outline, bold, bulk, twotone, broken and duotone. See every icon in this look on the free glass icons page.
How to Use the Unlock Icon
- Customise it. Glass is a filled style, so pick a size on the left; stroke weight doesn't apply.
- Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
- Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made
UnlockIconcomponent. - Label it. If the icon is the only thing in a button, give it a name for screen readers:
aria-label="Unlock item". If text sits next to it, usearia-hidden="true"instead.
Design Tips for the Unlock Icon
- Keep the closed and open padlock identical apart from the shackle, so people instantly recognise them as two states of one control.
- When an open padlock means exposed content, pair it with a warning colour and text rather than the friendly accent used for new features.
- For a toggle button, name the action in the label, such as Lock vault, and set aria-pressed to reflect the current state.
Icons That Work Well with Unlock
Browse all security iconsUnlock Icon FAQ
An open padlock on a file or note means it is open to edits or not protected by a password. Tap it to lock the item again. In shared documents, the open padlock usually shows that anyone with access can change the content.
Not on its own. An open shackle suggests something is exposed, so it works as a warning beside a public setting. For general privacy, a closed padlock, a shield or an eye with a slash reads better, because people expect privacy to look like protection.
Yes. The unlock icon is one of 891 free, open-source icons you can use in personal and commercial work, including client projects and apps you sell. The packages are MIT licensed; keep the licence notice if you redistribute the icon files.
SVG, PNG and WebP, at any size from 16 to 512 pixels. You can also copy it as JSX or as a ready-made component for React, React Native, Vue, Svelte, Angular and Flutter, with your stroke weight and colour already applied.