Updated
Scrub Timeline
Pro2026 roadmap6 milestones
Customize
Year2026
Accent
Magnify1.6
Start week22
Installation
ProScrub Timeline is a Pro component
Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.
Install with a key
- Add the Pro registry to
components.json:components.json { "registries": { "@uibrik-pro": { "url": "https://uibrik.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" } } } } - Put your key in
.env.localand add that file to.gitignore:.env.local UIBRIK_LICENSE=your-license-key - Install it:
Terminal npx shadcn@latest add @uibrik-pro/scrub-timeline
Loading your installation…
Usage
import { ScrubTimeline } from "@/components/uibrik/scrub-timeline/scrub-timeline";const events = [ { week: 3, title: "Kickoff", detail: "Four people, one goal" }, { week: 12, title: "Private beta", detail: "First 50 teams invited" }, // …4 more];<ScrubTimeline title="2026 roadmap" year={2026} accent="#f97316" magnify={1.6} defaultWeek={22} events={events} onChange={(week) => {}} // todayWeek={0}/>Where to use Scrub Timeline
Release timelines
A week-by-week ruler that swells under the pointer makes scanning a roadmap easy.
Media editors
Milestones pulling the playhead in help land on key moments.
Planning tools
Ticks clicking past like detents give dragging a precise feel.
Pairs with Calendar Zoom
Props
ScrubTimeline- title
- Type string
- "2026 roadmap"
- Heading, also the slider's label.
- year
- Type number
- 2026
- Year the ruler spans, one tick per week.
- accent
- Type string
- "#f97316"
- Colour of milestones.
- magnify
- Type number
- 1.6
- How much ticks grow under the pointer; 0 turns it off.
- defaultWeek
- Type number
- 22
- Week the playhead starts on.
- events
- Type TimelineEvent[]
- –
- Milestones: { week (0–51), title, detail? }. Several in one week share a tick and the card steps through them.
- todayWeek
- Type number
- –
- Week to mark as today; earlier milestones show as done. Defaults to the real date.
- onChange
- Type (week: number) => void
- –
- Called as the playhead moves.
- className
- Type string
- –
- Classes for the outer shell.