LED
A status lamp and the line it sits in. Four tones, and the idle one holds still.
pulls in@afterglow/theme
uplink nominal
indexing
spool offline
standby
Installation
npx shadcn@latest add @afterglow/ledAPI Reference
Led
It flickers between held brightness levels by default. The idle tone holds still.
| Prop | Type | Default |
|---|---|---|
| tone | "ok" | "busy" | "error" | "idle" | "ok" |
| pulse | boolean | tone !== "idle" |
Status
A lamp and the word beside it, which is how a status line is always built.
| Prop | Type | Default |
|---|---|---|
| tone | "ok" | "busy" | "error" | "idle" | "ok" |