Showcase

Timeline

This documentation provides a comprehensive reference for the Timeline, TimelineItem, and TimelineItems components, guiding you through their configuration options.
Demos

Screenshot #

Blazor Timeline Component

Timeline Parameters #

Name Type Default Required Description Added Version
AdditionalAttributes Dictionary<string, object>? null Gets or sets additional attributes that will be applied to the component. 4.1.0
AriaLabel string? null Gets or sets the accessible name of the timeline list, read by screen readers. 4.1.0
ChildContent RenderFragment? null Gets or sets the items: TimelineItem components, TimelineItems, or both. 4.1.0
Class string? null Gets or sets the CSS class name(s) to apply to the component. 4.1.0
CollapseBreakpoint TimelineCollapseBreakpoint Medium Gets or sets the width below which a horizontal or alternate timeline shows as a single vertical column. 4.1.0
Id string? null Gets or sets the ID. If not set, a unique ID will be generated. 4.1.0
Orientation TimelineOrientation Vertical Gets or sets whether the items are laid out top to bottom or left to right. A horizontal timeline whose items do not fit scrolls inside its own container. 4.1.0
Placement TimelinePlacement Start Gets or sets where the line and markers of a vertical timeline sit: at the start edge, at the end edge, or centered with the items on alternating sides. Has no effect on a horizontal timeline. Below CollapseBreakpoint, the alternate placements show as Start. 4.1.0
Style string? null Gets or sets the CSS style string that defines the inline styles for the component. 4.1.0

TimelineItem Parameters #

Name Type Default Required Description Added Version
AdditionalAttributes Dictionary<string, object>? null Gets or sets additional attributes that will be applied to the component. 4.1.0
ChildContent RenderFragment? null Gets or sets the content of the item, shown under its title and subtitle. 4.1.0
Class string? null Gets or sets the CSS class name(s) to apply to the component. 4.1.0
Color TimelineColor None Gets or sets the color of the dot or icon marker. A MarkerTemplate brings its own look. 4.1.0
Current bool False Gets or sets whether this is the current item. It is marked aria-current="step" and shown with a ring around its marker. 4.1.0
IconName IconName None Gets or sets the icon shown in the marker. When None, the marker is a dot. 4.1.0
Id string? null Gets or sets the ID. If not set, a unique ID will be generated. 4.1.0
MarkerTemplate RenderFragment? null Gets or sets custom marker content, such as an Avatar. Takes precedence over IconName. 4.1.0
Style string? null Gets or sets the CSS style string that defines the inline styles for the component. 4.1.0
Subtitle string? null Gets or sets the subtitle of the item, such as a timestamp. 4.1.0
Title string? null Gets or sets the title of the item. 4.1.0

TimelineItems Parameters #

Name Type Default Required Description Added Version
AdditionalAttributes Dictionary<string, object>? null Gets or sets additional attributes that will be applied to the component. 4.1.0
Class string? null Gets or sets the CSS class name(s) to apply to the component. 4.1.0
ColorField Func<object?, TimelineColor>? null Gets or sets a function that returns the marker color of an element. 4.1.0
CurrentField Func<object?, bool>? null Gets or sets a function that returns whether an element is the current item. 4.1.0
Data IEnumerable<object?>? null Gets or sets the elements to show, in order. A null or empty collection renders no items. 4.1.0
IconNameField Func<object?, IconName>? null Gets or sets a function that returns the marker icon of an element. 4.1.0
Id string? null Gets or sets the ID. If not set, a unique ID will be generated. 4.1.0
ItemTemplate RenderFragment<object?>? null Gets or sets the template of an element's content, shown under its title and subtitle. 4.1.0
MarkerTemplate RenderFragment<object?>? null Gets or sets the template of an element's marker, such as an Avatar. Takes precedence over IconNameField. 4.1.0
Style string? null Gets or sets the CSS style string that defines the inline styles for the component. 4.1.0
SubtitleField Func<object?, string?>? null Gets or sets a function that returns the subtitle of an element, such as a timestamp. 4.1.0
TitleField Func<object?, string?>? null Gets or sets a function that returns the title of an element. 4.1.0

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.