Feedback Components¶
Notifications and loading states. All accept the base props in addition to those listed.
Prop tables are auto-generated by
npm run gen:docsfrom the zod schemas.
alert¶
Banner-style notification with severity.
| Prop | Type | Description |
|---|---|---|
title |
string | Alert title |
message |
string | Alert body text |
severity |
"info" | "warn" | "error" | "success" |
Color/icon style |
Note: The
severityenum isinfo/warn/error/success(notwarning). Usingwarningtriggers an L3 inline error.
progress¶
Progress bar with value 0–100.
| Prop | Type | Description |
|---|---|---|
value |
number | Percentage 0–100 |
label |
string | Optional label shown alongside |
toast¶
Transient notification chip — typically shown at corner of the screen.
| Prop | Type | Description |
|---|---|---|
message |
string | Toast body |
severity |
"info" | "warn" | "error" | "success" |
Color style |
modal¶
Modal dialog placeholder. Drawn inline (not truly overlaid) — this is a sketch.
| Prop | Type | Description |
|---|---|---|
title |
string | Dialog title |
body |
string | Dialog body text |
skeleton¶
Gray shimmer placeholder for loading states.
| Prop | Type | Description |
|---|---|---|
width |
string | number | Width of the shimmer area |
height |
string | number | Height of the shimmer area |
col:
gap: 8
items:
- skeleton: { width: "80%", height: 20 }
- skeleton: { width: "60%", height: 14 }
- skeleton: { width: "90%", height: 14 }
Note:
skeletonuseswidth/height(not basew/h) because the semantics differ — these set the shimmer area, not the outer box.