Skip to content
Data Display

Timeline

server28 kB
@stellaria/nebula-webTimelineProps

Preview

Props

9
PropTypeDefault

active

number

—

align

"start" | "end"

—

bulletSize

number

—

className

string

—

color

ColorExtended"primary"

items

required
readonly TimelineItem[]

—

lineWidth

number

—

reachedLabel

string

—

variant

TimelineVariant"filled"

Slot props

7

Each one spreads over an inner element, so you can restyle a region without forking the component.

PropTypeDefault

bodyProps

Title, meta and description column.

BoxSlotProps

—

bulletProps

The bullet. It carries `data-reached`, which is what tints it once the active one has passed.

BoxSlotProps

—

descriptionProps

The entry description, when it has one.

TextSlotProps

—

itemProps

Every entry on the line. It spreads over all of them.

BoxSlotProps

—

lineProps

The vertical run between bullets.

BoxSlotProps

—

metaProps

The meta line, when the entry has one.

TextSlotProps

—

titleProps

The entry title.

TextSlotProps

—

Also accepts

On top of its own props, this component forwards these groups.

Style props · 127