Files and folders

Link

LinkStateIcon

Represents link across connected, broken, external states.

States

3 total

Link connected

Link connected.

Link connected

"connected"

Link connected.

Link broken

"broken"

Link broken.

External link

"external"

External link.

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
connected · broken · external
example.tsx
import { LinkStateIcon } from "@stateglyph/react";
<LinkStateIcon state="connected" decorative />