apps/www/content/docs/components/timeline.mdx
import { Timeline } from "@chakra-ui/react"
<Timeline.Root>
<Timeline.Item>
<Timeline.Connector>
<Timeline.Separator />
<Timeline.Indicator />
</Timeline.Connector>
<Timeline.Content>
<Timeline.Title />
<Timeline.Description />
</Timeline.Content>
</Timeline.Item>
</Timeline.Root>
Use the size prop to change the size of the timeline.
Use the variant prop to change the variant of the timeline.
Here's an example of a timeline with content before the timeline indicator.
<ExampleTabs name="timeline-with-content-before" />Here's an example of a timeline with alternating content.
<ExampleTabs name="timeline-alternating" />Here's an example of how to compose the timeline with other components to create a consistent-looking timeline.
<ExampleTabs name="timeline-composition" />Explore the Timeline component parts interactively. Click on parts in the
sidebar to highlight them in the preview.