Install with shadcn CLI
npx shadcn@latest add https://www.shadcn.io/registry/heroicons-lock-closed.json
npx shadcn@latest add https://www.shadcn.io/registry/heroicons-lock-closed.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/heroicons-lock-closed.json
bunx shadcn@latest add https://www.shadcn.io/registry/heroicons-lock-closed.json
Category:system
Tags:locklockedsecuresecurityprivateprotectedclosed
The closed lock icon represents security and restricted access with its locked padlock design showing a closed shackle.
This security symbol has become the standard indicator for locked content, secure connections, private features, and access-restricted resources across all modern web applications and security platforms.
Frequently Asked Questions
Common questions about the Lock Closed icon