About Shadcn UI Timeline Blocks
A timeline shows events in the order they happened, joined by a line so people can follow what changed, who did it and what comes next. These 15 shadcn timeline blocks cover activity logs, team feeds, audit and migration trails, release notes, approval workflows, onboarding milestones, sprint schedules and product roadmaps.
Every block is built with React, TypeScript and Tailwind CSS on top of shadcn ui components such as Card, Badge, Avatar, Button Group, Collapsible, Tabs, Toggle Group, Dropdown Menu, Popover, Drawer, Scroll Area and Progress.
Key Elements of a Timeline
- Nodes: a dot, icon, avatar or number that marks each event and its state.
- Connector: the line between nodes, often filled up to the current step.
- Time: a date, a relative time or a date rail beside the line.
- Context: the actor, the record and extras such as files, avatars or a note.
- Actions: links, buttons or a menu to open, review or hide an event.
Layouts in This Collection
- Activity feeds: Timeline 1, Timeline 3, Timeline 9 and Timeline 10 list who did what, with icons or avatars as nodes.
- Logs and release notes: Timeline 8 and Timeline 11 show dated entries with attachments, type badges and filters.
- Status and milestones: Timeline 2, Timeline 5 and Timeline 7 track progress through done, current and upcoming steps.
- Horizontal timelines: Timeline 6, Timeline 12 and Timeline 15 run left to right for schedules, workflows and roadmaps.
- Overlays and sections: Timeline 4 uses a right drawer, Timeline 13 a popover and Timeline 14 a page section with a sticky intro.
Related Blocks
- Gantt Chart: full project schedules with draggable bars and zoom levels.
- List: rows of members, tasks and records without a time axis.
- Changelog: public release note pages for a marketing site.
Accessibility
Every timeline is an ordered list, so screen readers announce the number of events and their order. Dates use the time element, icon only buttons such as downloads and event menus carry aria-labels, and the drawer in Timeline 4 has a title, description and close button. States are shown with an icon or a label next to the color, so they do not rely on color alone.
Shadcn Timeline Blocks for AI Agents
Timelines cover activity logs, application and approval steps, company milestones, release notes, migration logs, a notification popover and a roadmap section. That range helps an agent tell event history, as in Timeline 1, 8 or 10, apart from process tracking, as in Timeline 2, 7 or 12, and render the right one from your audit log or workflow state.
Install it with an AI agent
Claude Code, Cursor, Codex and other agents can install these with the shadcn CLI, for example npx shadcn@latest add @shadcnuikit/timeline-block1. With the Shadcn UI Kit MCP server, your agent can search every variant by name and add the right one for you. To give it full context, share /blocks/dashboard-ui/timeline.md, the Markdown version of this page with every variant and install command.
Example prompts
- “Add Timeline 10 to the project page and load All, Mentions and Files activity from our audit log API.”
- “Use Timeline 7 to show customer activation milestones and mark the current step from the account status.”
- “Build our changelog page from Timeline 11 using release entries with New, Improved and Fixed tags from our CMS.”
Customize it with AI
Entries are written out in the component files, so ask the agent to extract an item type with date, actor, verb, status and attachments, then map your events onto it. Sort by timestamp on the server and group by day or week in one helper. For step timelines, derive done, current and upcoming from a single status field instead of storing all three.
Timeline FAQ
npx shadcn@latest add @shadcnuikit/timeline-block1 or timeline-block2. The other 13 timeline blocks are part of All Access.bg-primary, bg-border, bg-success, bg-warning, bg-info and bg-chart-3, so they follow the variables in your globals.css in light and dark mode.
