Data display
Timeline
vertical status steps joined by a line · each done / current / upcoming with time and note
function TimelineDemo() { return ( <Card className="w-full px-4 py-4"> <Timeline items={[ { title: 'Order confirmed', time: '12 Jun, 10:02', state: 'done' }, { title: 'Packed', time: '12 Jun, 16:40', state: 'done' }, { title: 'On its way', time: '13 Jun, 08:15', description: 'With the courier, arriving tomorrow', state: 'current' }, { title: 'Delivered', time: 'Expected 14 Jun', state: 'upcoming' }, ]} /> </Card> );}Usage
For what already happened and what comes next (an order, a delivery, an application). A flow the person is filling in uses Stepper.
API
<Timeline items={[{ title, time?, description?, state }]} tone? />Get it
Already in every copy of the native kit:
import { Timeline } from '@/components/kit/timeline';Details
- Exports
Timeline- Packages
- lucide-react-native@^1.21.0
- Installs with
- @halftone-native/icon, @halftone-native/lib-utils, @halftone-native/text
- Also searched as
- status steps, tracking, history, progress
- Registry JSON
- /r/native/timeline.json
<Timeline className="w-full max-w-sm" items={[ { title: 'Invoice sent', time: '12 Jun, 10:02', state: 'done' }, { title: 'Viewed by Lumen Labs', time: '12 Jun, 14:30', state: 'done' }, { title: 'Awaiting payment', time: 'Due 26 Jun', description: 'A reminder goes out in 3 days.', state: 'current' }, { title: 'Paid', state: 'upcoming' }, ]}/>Usage
For what already happened and what comes next (an order, a delivery, an application).
API
<Timeline items={[{ title, time?, description?, state }]} tone? />Get it
Already in every copy of the web kit:
import { Timeline } from '@/components/kit/timeline';Details
- Exports
Timeline- Packages
- cn@^0.5.2, lucide-react@^1.52.0
- Also searched as
- activity, history, tracking
- Registry JSON
- /r/web/timeline.json
Agents: the whole registry is at /llms.txt.