# Journey Timeline A composite component combining a Stepper (progress indicators) with an Info List (content items) to visualise multi-step processes, application statuses, and service journeys. **Category:** Components **Storybook:** https://doc.ux4g.gov.in/web/?path=/story/ux4g-components-journey-timeline--introduction ## Variants documented in Storybook - Vertical Timeline: https://doc.ux4g.gov.in/web/?path=/story/ux4g-components-journey-timeline--vertical-timeline - Horizontal Timeline: https://doc.ux4g.gov.in/web/?path=/story/ux4g-components-journey-timeline--horizontal-timeline ## Framework setup ### HTML / CDN ```html ``` ### React ```bash npm install ux4g-web-components ``` ```jsx import 'ux4g-web-components/styles.css'; import 'ux4g-web-components/design-system'; ``` ### Angular Update `angular.json`: ```json { "styles": [ "node_modules/ux4g-web-components/styles/ux4g.css", "src/styles.css" ], "scripts": [ "node_modules/ux4g-web-components/dist/runtime/design-system.js" ] } ``` ## Code examples The snippets below are extracted from the Storybook canvas for Journey Timeline. Each example shows the rendered HTML, the equivalent React JSX, and the Angular template markup. ### 1. Horizontal Timeline — Horizontal Timeline HTML: ```html
A composite component combining a Stepper (progress indicators) with an Info List (content items) to visualise multi-step processes, application statuses, and service journeys.
Visual demonstration of Journey Timeline variations.
Quickly copy layout and utility classes for Journey Timelines.
|
Timeline Card Container
journey-timeline-card
|
|
Timeline Container
ux4g-journey-timeline
|
|
Individual Step
ux4g-journey-step
|
|
Step Icon/Dot Indicator
ux4g-journey-indicator
|
|
Step Detail Card
ux4g-journey-card
|
|
Step Information Area
ux4g-journey-info
|
|
Vertical Layout
ux4g-journey-timeline--vertical
|
|
Horizontal Layout
ux4g-journey-timeline--horizontal
|
|
Completed State
ux4g-journey-step-completed
|
|
Active State
ux4g-journey-step-active
|
|
Status Dot Indicator
ux4g-journey-status-dot
|
A composite component combining a Stepper (progress indicators) with an Info List (content items) to visualise multi-step processes, application statuses, and service journeys.
Visual demonstration of Journey Timeline variations.
Quickly copy layout and utility classes for Journey Timelines.
|
Timeline Card Container
journey-timeline-card
|
|
Timeline Container
ux4g-journey-timeline
|
|
Individual Step
ux4g-journey-step
|
|
Step Icon/Dot Indicator
ux4g-journey-indicator
|
|
Step Detail Card
ux4g-journey-card
|
|
Step Information Area
ux4g-journey-info
|
|
Vertical Layout
ux4g-journey-timeline--vertical
|
|
Horizontal Layout
ux4g-journey-timeline--horizontal
|
|
Completed State
ux4g-journey-step-completed
|
|
Active State
ux4g-journey-step-active
|
|
Status Dot Indicator
ux4g-journey-status-dot
|
A composite component combining a Stepper (progress indicators) with an Info List (content items) to visualise multi-step processes, application statuses, and service journeys.
Visual demonstration of Journey Timeline variations.
Quickly copy layout and utility classes for Journey Timelines.
|
Timeline Card Container
journey-timeline-card
|
|
Timeline Container
ux4g-journey-timeline
|
|
Individual Step
ux4g-journey-step
|
|
Step Icon/Dot Indicator
ux4g-journey-indicator
|
|
Step Detail Card
ux4g-journey-card
|
|
Step Information Area
ux4g-journey-info
|
|
Vertical Layout
ux4g-journey-timeline--vertical
|
|
Horizontal Layout
ux4g-journey-timeline--horizontal
|
|
Completed State
ux4g-journey-step-completed
|
|
Active State
ux4g-journey-step-active
|
|
Status Dot Indicator
ux4g-journey-status-dot
|