Skip to content

Timeline

A vertical sequence of events with markers, titles, times and content.

Order history

  1. Delivered

    Left at the front door.

  2. Out for delivery
  3. Order placed

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/timeline.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-timelineOn an <ol>.
mn-timeline-markerDot or icon; takes a colour role.
mn-timeline-title · mn-timeline-time · mn-timeline-bodyParts.

Accessibility

  • Use an ordered list and a <time datetime> for each timestamp.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page