Component libraryActivity timeline
Activity timeline
ProA semantic grouped timeline with native times, consumer-owned activity, and controlled detail disclosures.
npx shadcn@latest add @tidal-pro/activity-timelineInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/activity-timeline.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
Required title and groups of uniquely identified consumer-owned events. Each event requires id, dateTime, timeLabel and title; optional description, actor, decorative marker, meta and details. headingLevel: h2(default) | h3 | h4. groupHeadingLevel: h3 | h4 | h5 and defaults one level below the selected section heading. expandedIds and onExpandedChange form the controlled disclosure contract; when no callback is supplied, event details render statically without a fake control. labels localizes Show details and Hide details. emptyMessage accepts caller-owned content. The section forwards native attributes/ref and optional aria-labelledby/aria-describedby. Events render as grouped ol/li/article structures with native time elements, 44px disclosure controls, inert collapsed content, logical RTL geometry, finite entrance/detail motion and a static reduced-motion state. The component performs no requests, storage, timers, routing, analytics or event mutation.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.