API and Development
EmptyText renders an em dash by default with aria-label from the required label prop, so empty table cells and metadata fields stay perceivable. Inherits TextProps picks: type, color, asSpan, and optional children to override the glyph.
Name | Type | Default | Description |
|---|---|---|---|
|
| — | — |
|
| — | If true, renders the text as a <span> element instead of a block element (e.g. <p>). Use this when you need inline text that does not break the flow of surrounding content. Prefer block elements for standalone paragraphs or headings for better semantics and accessibility. |
|
| — | — |
|
|
| Semantic color applied to the text. |
|
|
| Typography variant controlling the element tag and size. |
Interactive examples and edge cases for this component are in Storybook.