Date Timeline
A short line with a gap that slides to the current date, and the dates; a scroll stage moves it through its tracks. No dependencies.
No dependencies
Seen inBetween Rivers
c. 3000 BCE
c. 2300 BCE
1850s
1920s
1930s
Today
Customize
Count6
Size2.0×
Install
Terminal
npx shadcn@latest add @mewo/date-timelineNot using the registry directory?
Point the CLI straight at the item URL:
npx shadcn@latest add https://www.mewo-ui.com/r/date-timeline.json
Props
| Prop | Type | Default | Description |
|---|---|---|---|
dates | string[] | three dates | The dates, in order. |
track | string | — | The track names' prefix inside a ScrollStage: <track>.timeline, <track>.timelineLine and <track>.year<i>. |
className | string | — | Merged onto the root (display: contents). |