Hover the icon or press Play. Suggested motion: shake. Pick another to preview it and update the animated code:
Lock Closed icon
A free lock closed icon from Ionicons 5, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.
- License
- MIT license
- Project
- ionicons.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/ionicons-5/lock-closed.jsonimport * as React from "react";
/**
* Lock Closed from Ionicons 5 (https://ionicons.com/), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/ionicons-5/lock-closed. Sized in em, colored by currentColor.
*/
export function IoLockClosedIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
viewBox="0 0 512 512"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
d="M368 192h-16v-80a96 96 0 1 0-192 0v80h-16a64.07 64.07 0 0 0-64 64v176a64.07 64.07 0 0 0 64 64h224a64.07 64.07 0 0 0 64-64V256a64.07 64.07 0 0 0-64-64m-48 0H192v-80a64 64 0 1 1 128 0z"
/>
</svg>
);
}import { IoLockClosed } from "react-icons/io5";
export function Example() {
return <IoLockClosed className="size-5" />;
}<svg
viewBox="0 0 512 512"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M368 192h-16v-80a96 96 0 1 0-192 0v80h-16a64.07 64.07 0 0 0-64 64v176a64.07 64.07 0 0 0 64 64h224a64.07 64.07 0 0 0 64-64V256a64.07 64.07 0 0 0-64-64m-48 0H192v-80a64 64 0 1 1 128 0z"
/>
</svg>"Lock Closed" icon from Ionicons 5 (https://ionicons.com/), licensed under MIT license.Related icons: secure, security, password, padlock
- document lock
- document lock outline
- document lock sharp
- lock closed outline
- lock closed sharp
- lock open
- lock open outline
- lock open sharp
- logo closed captioning
- key
- key outline
- key sharp
- shield
- shield checkmark
- shield checkmark outline
- shield checkmark sharp
- shield half
- shield half outline
- shield half sharp
- shield outline
- shield sharp