Skip to content

Timeline

<ns-timeline>

Overview

Represents a sequence of events that happen within a process, and shows the status.

The timeline gives an overview of a process and can show the progression of a customer journey. Its purpose is to create situational awareness for the user and manage expectations.

Examples

Guidance

Standard

Labelled diagram of ns-timeline

Key

KeyField typeGuidelines
AHeadingDescribes the process the whole timeline is showing. It can be left blank if, for example, there is a ns-landmark immediately preceding which describes it.
BSummaryOptional. You can use a short sentence here to help manage expectations.
CStep CountDisplay information on the number of events in a process (up to a maximum of 10) and how many have been completed so far.
DDecorationChoose between default dots, icons or numbers.
EEventAn individual event in the timeline. Refer <ns-timeline-event> for individual event guidance.

Step

Labelled diagram of ns-timeline step

Key

KeyField typeGuidelines
AHeadingDescribes the process the whole timeline is showing. It can be left blank if, for example, there is a ns-landmark immediately preceding which describes it.
BDecorationNumber or Fallback. Number is default, the fallback is a dot if no index is specified.
CEventAn individual step in the timeline. Refer <ns-timeline-event> for individual step guidance.
DEvent HeadingConcise and clear heading description. Keep as short as possible.
EAdditional ContentAdd further information relevant to this step to aid customer understanding.

Implementation

Placement

The ns-timeline component can only be used as a child of the <ns-panel> element.

Specification

Attributes

show-step-count

Property
showstepcount
Description
Whether to show the step count.
Type
boolean
Default
false

type

Property
type
Description
The type of the timeline.
Type
string
Options
standard step
Default
standard

Slots

SlotPermitted tagsDescription
heading<h2> The heading of the timeline.
summary<p> The summary of the timeline.
event<ns-timeline-event> An event of the timeline.

Last updated: