Components · Content
Quote
A block quote with an optional citation.
ExamplesLink to this section
Make it work, make it right, make it fast.
Show JSONHide JSON
{
"version": 1,
"root": "quote",
"elements": {
"quote": {
"type": "Quote",
"props": {
"text": "Make it work, make it right, make it fast.",
"cite": "Kent Beck"
}
}
}
}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 |
|---|---|---|
| textrequired | string | max 2,000 chars |
| cite | string | max 200 chars |
Children and eventsLink to this section
Quote is a leaf: it does not show children. Validation warns when a leaf has some; wrap them in a Stack or Card instead.
It emits no events.