Skip to content
Onycx-ui
ESC

Status Timeline

Show the progress of an incident or task with completed and upcoming steps connected by a line.

Dependencies
No extra packages
Size
144 lines
Controls
6 controls

Installation

CLI · shadcn registry

npx shadcn@latest add https://ui.onycx.dev/r/status-timeline.json

1 · Dependencies

None beyond React and Tailwind.

2 · Copy the source

components/onycx/status-timeline.tsx

Requires React 19 and Tailwind CSS v4. Copy the source from the status-timeline.tsx tab after tweaking: your values are baked in as the new defaults. Exported image examples use portable sample artwork. Replace it with your own media as needed.

Props

PropTypeDefaultDescription
stepsTimelineStep[]—{ title, detail? }. Defaults to the four incident stages.
currentnumber1Index of the latest reached step; it and every earlier step are complete.
allCompletebooleanfalseEvery step complete, like the incident's closed state.
titlestring"Status timeline"Card title; an empty string hides the header.
safe / safeInkstring"#34D399" / "#06281C"Completed fill, rails and card tint (14% bubble, 32% border), and the check on filled dots.
cardbooleantrueWrap in the info card; false renders the bare list.