Timeline

The Timeline component provides a vertical overview of events, milestones, or steps in a process.

Default timeline

Displays dated milestones with the current step highlighted.

  • Planning approved

    Project scope, budget, and owners are confirmed so implementation can begin.

  • Design direction locked

    Key visual decisions, copy structure, and component dependencies are aligned.

  • Development in progress

    The component is integrated into the library and prepared for review in the styleguide.

  • Launch and follow-up

    The final release is published together with guidance for editors and designers.

Sequential timeline

Collapses the date column for step-by-step process presentations.

  • Collect requirements

    Gather the content, ordering, and interaction rules that the timeline should support.

  • Build the showcase

    Add examples and local styles so the component can be reviewed and iterated inside the styleguide.

  • Validate the output

    Run the local checks and confirm the component appears correctly in the documentation site.

API

Parameter Default Description
[] An array of events
false If true, the events will be displayed in a sequential order

CSS API

Variable Default Type Values Description
var(--base) range - Main unit that drives radius and spacing scales.
var(--space) range - Base spacing unit. Used for padding and margin inside components.
var(--border-width) range - Size
var(--border-radius) range - Border Radius
var(--corner-shape) select square, round, squircle, circular, bevel, scoop Corner Shape
var(--color--primary) color - Primary
var(--color--primary-contrast) color - Primary Contrast
var(--color--surface) color - Surface
var(--color--surface-alt) color - Manual companion token for subtle surface backgrounds.
var(--color--surface-border) color - Manual companion token for borders on surface elements.
var(--color--surface-contrast) color - Used for text and icons on surface backgrounds with less contrast.
var(--font-size-100) range - Base font size.