Deployed to production
Build 4f2a1c went live on all regions.
Merged pull request #218
Add range mode to Calendar.
Preview build failed
Branch created
Installation
$ pnpm dlx shadcn@latest add @synccn/timelineFirst time in this project? Connect synccn with one command.
Usage
import { Timeline } from "@/components/ui/timeline";<Timeline items={events} />API reference
Generated from the component's TypeScript types, so it always matches the code.
Timeline
items: [{ title, time, description?, icon?, tone? ("default" | "primary" | "success" | "destructive") }]
- itemsrequired
TimelineItem[]Events, newest first.
- className
stringExtra classes for the root element.
Dependencies
Read from the component's imports when the site builds. The CLI installs all of these for you.
Helpers
- lib/utilscn (merges class names)
npm packages
- clsx for cn()
- tailwind-merge for cn()
Accessibility
From the source
Read from this component's code when the site builds, so it can't drift.
No ARIA roles, key handling or motion settings in its source. It renders plain elements, so its accessibility comes from the content and labels you give it.