Dark Light
System
Default LBBW Jira Confluence Source Code
Share
Playground

Timeline

<afp-timeline> Since 1.4.0 stable This component uses the light DOM, so its markup and styles are part of the regular document flow.

A timeline component to display a series of events or milestones in chronological order.

Week 1

Planning & requirements

Week 2

Design

Examples #

Orientation #

Use the orientation attribute to specify the direction of the timeline.

Week 1

Project kickoff

Week 2

Requirement analysis

Week 3

Implementation

Week 4

Review & testing

Week 5

Release

Placement #

Use the placement attribute to define the position of timeline items.

Week 1

Project kickoff

Week 2

Requirement analysis

Week 3

Implementation

Week 4

Review & testing

Week 5

Release

Alternating #

Use the alternating attribute to display timeline items on alternating sides of the timeline.

Project kickoff

Planning

Development

Testing

Release

Horizontal orientation when timeline items are alternating.

Project kickoff

Planning

Development

Testing

Release

Alignment #

Use the alignment attribute to define the alignment within the container.


Left (Start) #

The start value aligns the timeline to the left when the timeline is oriented vertically.

Project kickoff

Jan 01, 2026

Planning

Jan 15, 2026

Development

Jan 30, 2026

Testing

Feb 15, 2026

Release

Feb 30, 2026

Left alignment when no left-side timeline items exist.

Project kickoff

Planning

Development

Testing

Release


Center #

The center value aligns the timeline in the middle when the timeline is oriented vertically.

Project kickoff

Jan 01, 2026

Planning

Jan 15, 2026

Development

Jan 30, 2026

Testing

Feb 15, 2026

Release

Feb 30, 2026

Right (End) #

The end value aligns the timeline in the right when the timeline is oriented vertically.

Project kickoff

Jan 01, 2026

Planning

Jan 15, 2026

Development

Jan 30, 2026

Testing

Feb 15, 2026

Release

Feb 30, 2026

Right alignment when no right-side timeline items exist.

Project kickoff

Planning

Development

Testing

Release

Customization #

Use the attributes of the timeline-item component and other related components to customize the timeline.

Jan 10, 2026

Application

Application submitted.

Jan 12, 2026 Document Upload

Required verification documents uploaded.

See uploaded documents
Review

Your application is being reviewed by the officer.

Disbursement

Properties

Learn more about properties.

Name Description Reflects
disabled
Disabled state of the timeline
Type boolean
Default false
alternating
Display the timeline items on alternating side.
Type boolean
Default false
size
Size of the timeline
Type
AfpSize
Name Description
SMALL
Small size with compact dimensions.
MEDIUM
Medium size with standard dimensions.
LARGE
Large size with expanded dimensions.
AfpSize
Default AfpSize.MEDIUM
placement
Placement of the timeline items. For vertical orientation, allowed values are `left` and `right`. For horizontal orientation, allowed values are `top` and `bottom`.
Type
AfpPlacement
Name Description
TOP
Top placement.
RIGHT
Right placement.
BOTTOM
Bottom placement.
LEFT
Left placement.
TOP_START
Top-start placement.
TOP_END
Top-end placement.
RIGHT_START
Right-start placement.
RIGHT_END
Right-end placement.
BOTTOM_START
Bottom-start placement.
BOTTOM_END
Bottom-end placement.
LEFT_START
Left-start placement.
LEFT_END
Left-end placement.
AfpPlacement
alignment
Alignment of the timeline.
Type
AfpAlignment
Name Description
CENTER
Centers content along the axis.
START
Aligns content to the beginning of the axis.
END
Aligns content to the end of the axis.
AfpAlignment
Default AfpAlignment.START
orientation
Orientation of the timeline.
Type
AfpOrientation
Name Description
HORIZONTAL
Horizontal layout orientation.
VERTICAL
Vertical layout orientation.
AfpOrientation
Default AfpOrientation.VERTICAL

Slots

Learn more about slots.

Name Description
default
The default slot for the timeline items.

Internationalization

Learn more about internationalization.

Key Description
timeline.aria-label
The aria-label of the timeline.

CSS Parts

Learn more about CSS Parts.

Name Description Selector
base
The timeline's base wrapper.
::part(base)
timeline
The timeline container for the timeline items.
::part(timeline)

Dependencies

The component automatically brings in the listed items, including any nested dependencies that may exist.

afp-timeline-item

Importing

Using the bundle is the recommended method to include components. If you’d rather handle imports manually, you can use the code examples below.

import '@afp-design-system/core/dist/components/timeline/timeline.js';
Share
Create a link with a predefined theme that is automatically applied when the generated link is opened. Default LBBW Presentation Mode
Abort Copy Link