#Overview

A timeline represents a timeline of steps. The steps can be in the past, present and future.

Show codeHide code
<>
  <Timeline title="Timeline Future" variant="future" subTitle="Second line">
    <LightText>
      This is where you can add a description of the timeline step. It can also
      be a component with design that satisfies your use case.
    </LightText>
  </Timeline>
  <Timeline title="Timeline Done" variant="done">
    <p>
      This is where you can add a description of the timeline step. It can also
      be a component with design that satisfies your use case.
    </p>
    <Button variant="primary">Click me</Button>
  </Timeline>
  <Timeline title="Timeline Active" variant="active">
    <p>
      This is where you can add a description of the timeline step. It can also
      be a component with design that satisfies your use case.
    </p>
    <Button variant="primary">Click me</Button>
  </Timeline>
  <Timeline title="Timeline Warning" variant="warning">
    <p>
      This is where you can add a description of the timeline step. It can also
      be a component with design that satisfies your use case.
    </p>
    <Button variant="primary">Click me</Button>
  </Timeline>
  <Timeline title="Timeline Error" variant="error">
    <p>
      This is where you can add a description of the timeline step. It can also
      be a component with design that satisfies your use case.
    </p>
    <Button variant="primary">Click me</Button>
  </Timeline>
  <Timeline title="Timeline Past" variant="past">
    <p>
      This is where you can add a description of the timeline step. It can also
      be a component with design that satisfies your use case.
    </p>
    <Button variant="primary">Click me</Button>
  </Timeline>
  <Timeline title="Timeline Problem" variant="problem">
    <p>
      This is where you can add a description of the timeline step. It can also
      be a component with design that satisfies your use case.
    </p>
    <Button variant="primary">Click me</Button>
  </Timeline>
</>;

NameTypeDefaultDescriptionControls
title *string
-

Title of the timeline step

variant *"active" | "done" | "error" | "future" | "past" | "problem" | "warning"
-

State of the timeline step

childrenReactNode
-

Arbitary content of a timeline step

subTitlestring
-

Optional second title of the timeline step

#Colors

  • Token
  • BACKGROUND_ACTIVE#7c4#7c4#1a3#1a3
  • BACKGROUND_DONE#7c4#7c4#1a3#1a3
  • BACKGROUND_ERROR#e64#e64#b21#b21
  • BACKGROUND_FUTURE#fff#111#fff#111
  • BACKGROUND_PAST#fff#111#fff#111
  • BACKGROUND_PROBLEM#fff#111#fff#111
  • BACKGROUND_WARNING#eb2#fc2#fd3#fd3
  • BORDER_FUTURE#555#bbb#555#bbb
  • BORDER_PAST#555#bbb#555#bbb
  • BORDER_PROBLEM#555#bbb#555#bbb
  • ICON_SHAPE_ACTIVE#000#000#fff#fff
  • ICON_SHAPE_DONE#000#000#fff#fff
  • ICON_SHAPE_ERROR#000#000#fff#fff
  • ICON_SHAPE_PAST#000#bbb#000#bbb
  • ICON_SHAPE_PROBLEM#000#bbb#000#bbb
  • ICON_SHAPE_WARNING#000#000#000#000