Skip to content
angulux
@anguless/angulux/timeline

timeline

1 declarations3 demos
import
import { TimelineModule } from '@anguless/angulux/timeline';

Basic

Timeline lays out a list of events, with the content slot rendering each one.

Ordered
Processing
Shipped
Delivered
<agl-timeline [value]="events" style="width: 100%">    <ng-template #content let-event>        {{ event.status }}    </ng-template></agl-timeline>

Horizontal

Layout switches the axis; align decides which side the content sits on.

Ordered
Processing
Shipped
Delivered
<agl-timeline [value]="events" layout="horizontal" align="top" style="width: 100%">    <ng-template #content let-event>        {{ event.status }}    </ng-template></agl-timeline>

Opposite

The opposite slot fills the other side of the axis.

15/10/2026 10:30
Ordered
15/10/2026 14:00
Processing
16/10/2026 09:45
Shipped
17/10/2026 08:15
Delivered
<agl-timeline [value]="events" align="alternate" style="width: 100%">    <ng-template #content let-event>        {{ event.status }}    </ng-template>    <ng-template #opposite let-event>        <small>{{ event.date }}</small>    </ng-template></agl-timeline>

API

Generated from the committed corpus, which check:corpus holds to the built library.

Timeline

componentagl-timeline

Timeline visualizes a series of chained events.

InputTypeDefaultDescription
valueany[] | undefinednot documentedAn array of events to display.
styleClass
deprecated — since v20.0.0, use `class` instead.
string | undefinednot documentedStyle class of the component.
alignstringnot documentedPosition of the timeline bar relative to the content. Valid values are "left", "right" for vertical layout and "top", "bottom" for horizontal layout.
layout'vertical' | 'horizontal'not documentedOrientation of the timeline.
Template slotDescription
<ng-template #content>Custom content template.
<ng-template #opposite>Custom opposite item template.
<ng-template #marker>Custom marker template.

Inherited from BaseComponent

inherited
InputTypeDefaultDescription
dtObject | undefined undefined Defines scoped design tokens of the component.
unstyledboolean | undefined undefined Indicates whether the component should be rendered without styles.
ptPT | undefined undefined Used to pass attributes to DOM elements inside the component. TRUSTED INPUT ONLY. Whatever you put here is applied to the DOM as given: keys become attributes, and a key that names a DOM property is assigned to that property directly, with no sanitizer in between. That is what makes the API useful, and it means a value reaching it from a user, a database or a CMS can execute script. Treat it like markup you wrote yourself, not like data you received.
ptOptionsPassThroughOptions | undefined undefined Used to configure passthrough(pt) options of the component.