Each TimelineItem holds a TimelineMarker and a TimelineContent. Pass dateTime on TimelineTime, also when the text is not a date.
order-history.tsx
Timeline
<ol>| Prop | Type | Default | Description |
|---|---|---|---|
| size | "default""sm" | "default" | |
| ...props | <ol> attributes | — | Every other attribute goes to the <ol>, with a ref. |
TimelineItem
<li>| Prop | Type | Default | Description |
|---|---|---|---|
| status | "current""done""error""upcoming" | "done" | Where the event is in a process. done (default): it happened; an activity feed uses only this. current: the step in progress, with aria-current="step". upcoming: not yet; a hollow mark, a dashed line into it, and a muted title. error: it failed; a destructive mark. Color is never the only signal: the title says the status in words. |
| ...props | <li> attributes | — | Every other attribute goes to the <li>, with a ref. |
TimelineMarker
<div>TimelineContent
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TimelineHeader
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TimelineTitle
<div>| Prop | Type | Default | Description |
|---|---|---|---|
From Base UIUseRenderBase UI docs | |||
| render | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TimelineTime
<time>| Prop | Type | Default | Description |
|---|---|---|---|
From Base UIUseRenderBase UI docs | |||
| render | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. | |
| ...props | <time> attributes | — | Every other attribute goes to the <time>, with a ref. |
TimelineDescription
<p>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <p> attributes | — | Every other attribute goes to the <p>, with a ref. |
Built with
Installs with Timeline
- Components
- Dot



