Security and privacy

Lock

LockStateIcon

Represents lock across unlocked, locked states.

States

2 total

Unlocked

Unlocked.

Unlocked

"unlocked"

Unlocked.

Locked

"locked"

Locked.

Implementation

Pass your current state.

The component stays presentational. Your application remains in control of async work and business logic. The state prop is a TypeScript string literal union — pass an invalid state and you'll get a type error at build time.

Source
Lucide
License
ISC
States
unlocked · locked
example.tsx
import { LockStateIcon } from "@stateglyph/react";
<LockStateIcon state="unlocked" decorative />