Timeline Template
DisplayA timeline template: a chronological event list with an optional icon, a title, a description, a timestamp, and a connector.
TimelineDisplay · Web
Loading Storybook preview…
Installation
bun add @otfdashkit/ui
Usage
Import Timeline from @otfdashkit/ui.
Code
// Timeline — A timeline template: a chronological event list with an optional icon, a title, a description, a timestamp, and a connector.
//
// Install:
// bun add @otfdashkit/ui
import { Timeline } from '@otfdashkit/ui'
export function Example() {
return (
<Timeline>
{/* your content */}
</Timeline>
)
}Props
Props declared in the Timeline source. Inherited HTML attributes are not listed.
| Prop | Type | Default | Description |
|---|---|---|---|
| childrenrequired | ReactNode | ||
| className | string |