Components · Layout
Card
A bordered surface with an optional title and description. Children go inside.
ExamplesLink to this section
Decision
Recorded Nov 5, 2026.
Use Base UI for primitives. Radix is not used anywhere in the app.
Show JSONHide JSON
{
"version": 1,
"root": "card",
"elements": {
"card": {
"type": "Card",
"props": { "title": "Decision", "description": "Recorded Nov 5, 2026." },
"children": ["body"]
},
"body": {
"type": "Text",
"props": {
"text": "Use Base UI for primitives. Radix is not used anywhere in the app."
}
}
}
}PropsLink to this section
Generated from the zod schema the server validates with. Unknown props are ignored with a warning. Any prop can also be a dynamic value such as { "$state": "/path" }; it is checked again once it resolves.
| Prop | Type | Limits and defaults |
|---|---|---|
| title | string | max 160 chars |
| description | string | max 600 chars |
ChildrenLink to this section
Card shows its children, in order.
It emits no events.