frontend/src/components/ui/Rocket/Empty/Empty.spec.md
| Prop | Type | Values | Default |
|---|---|---|---|
| size | string | large | default | small | default |
| Sub-component | Role | Notes |
|---|---|---|
| Empty | Root container | Flex column, centered, dashed border |
| EmptyMedia | Illustration / icon slot | Accepts variant: default (freeform) or icon (contained box) |
| EmptyHeader | Groups title + description | Max-width constrained |
| EmptyTitle | Heading text | |
| EmptyDescription | Supporting text | Muted color |
| EmptyContent | Action area (footer) | Slot for buttons / links |
| Value | Padding | Icon size (variant=icon) | Title text | Description text |
|---|---|---|---|---|
| small | tw-p-4 | tw-size-8 | tw-font-title-default | tw-text-xs |
| default | tw-p-6 | tw-size-10 | tw-font-title-large | tw-text-sm |
| large | tw-p-8 | tw-size-12 | tw-font-title-x-large | tw-text-sm |
ReactNode) — illustration, image, or iconstring)string)ReactNode) — buttons, linksShape E — compound/multi-part
default | icon) + size context for icon dimensions<Empty size="..."> and propagated to children via React contextvariant CVA on root — size is the only axisvariant prop (default vs icon) from shadcn