Skip to content
Components

Timeline

Static chronological events with independent status, connectors, descriptions, and metadata.

Composition

Anatomy

  • <Timeline>
    • <TimelineItem>
      • <TimelineIndicator />
      • <TimelineSeparator />
      • <TimelineContent>
        • <TimelineTitle />
        • <TimelineDescription />
        • <TimelineMeta>
          • <SourceBadge />
          </TimelineMeta>
        </TimelineContent>
      </TimelineItem>
    </Timeline>

Installation

The Control UI source installs this primitive from src/registry/sources/control-ui/ui/timeline.tsx.

Registry command
See registry manifest

Raw code

Primary installed source

src/registry/sources/control-ui/ui/timeline.tsx

Knobs

Typed custom properties the recipe paints with. Set one on the root — style, a utility class, or a skin — and every slot inherits it.

--cui-timeline-* · 7 knobsHow the cascade resolves
--cui-timeline-indicator-background<color>var(--background)
--cui-timeline-indicator-foreground<color>var(--muted-foreground)
--cui-timeline-running-foreground<color>var(--primary-text)
--cui-timeline-success-foreground<color>var(--foreground)
--cui-timeline-error-foreground<color>var(--destructive-text)
--cui-timeline-separator-background<color>var(--border)
--cui-timeline-title-foreground<color>var(--foreground)