API and Development
Time renders a native <time> element, pairing a machine-readable dateTime with a human-readable children label. It carries no typography or visual styling - compose CoreText around Time when the label needs styling, since CoreText has no as/asChild prop and cannot render <time> itself.
Name | Type | Default | Description |
|---|---|---|---|
|
| — | Machine-readable instant or date for the |
|
| — | Additional CSS class name applied to the |
|
| — | Ref forwarded to the underlying |
Interactive examples and edge cases for this component are in Storybook.
On this page