Clip timeline
Tracks of clips under a ruler and a playhead you scrub or play: drag clips (they snap and never overlap), or move them with Alt and the arrows.
When to use
- Video, audio and presentation editors.
- Scheduling blocks along a single timeline.
When not to use
- Calendars; use the resource timeline.
Installation
pnpm dlx shadcn@latest add @caliper/clip-timeline
Adds its 3 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
ClipTimeline
4 props
Keyboard
- →
- Moves to the next item or value.
- ←
- Moves to the previous item or value.
- Home
- Jumps to the first item or the minimum.
- End
- Jumps to the last item or the maximum.
Accessibility
It exposes slider, group and status semantics, with aria-label, aria-hidden, aria-valuemin, aria-valuemax, aria-valuenow and aria-valuetext kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/clip-timeline.mdThe index of every part is at /llms.txt.