Docs
Timeline

Timeline

Displays a list of events in chronological order.

Loading...

Installation

npx nyxb@latest add timeline

Usage

import {
  Timeline,
  TimelineContent,
  TimelineDot,
  TimelineHeading,
  TimelineItem,
  TimelineLine,
} from "~/components/ui/timeline"
<Timeline>
  <TimelineItem status="done">
    <TimelineHeading>Plan!</TimelineHeading>
    <TimelineDot status="done" />
    <TimelineLine done />
    <TimelineContent>
      Before diving into coding, it is crucial to plan your software project
      thoroughly.
    </TimelineContent>
  </TimelineItem>
  <TimelineItem>
    <TimelineHeading>Done!</TimelineHeading>
    <TimelineDot />
  </TimelineItem>
</Timeline>

Examples

Left Aligned

Loading...

Right Aligned

Loading...

Alternating

Loading...

With Lables

Loading...