Timeline
Vertical or horizontal sequence of events with a connecting line, markers, and per-item content. Bind an items array for the built-in row layout, or take over any region with a slot function (marker, heading, content, …) or declarative <BsTimelineItem> children. Selection is opt-in and controlled through selectedIds; clicks report through onItemClick.
Playground
Toggle each input with a <BsSelect> or <BsCheckbox> and watch the single live timeline — and the copyable snippet beneath it — update to match.
Keyboard shortcuts
- The timeline is only keyboard-interactive while Selectable is
singleormultiple. Withnoneit renders as a plain list — the items carry notabindexand take no focus. - Tab — enter the timeline; exactly one item holds the tab stop (roving tabindex)
- ↓ / → — next item · ↑ / ← — previous item. Both axes do the same thing whatever the orientation; movement wraps around the ends and skips disabled items.
- Home / End — first / last enabled item
- Enter — select the focused item, replacing the current selection
- Space — with
multiple, adds or removes the focused item; withsingleit behaves like Enter - Shift + Enter / Shift + Space — with
multiple, adds every enabled item between the anchor and the focused item - Ctrl/⌘ + click — toggle one item · Shift + click — range-select from the anchor
2026-01-10
Kickoff
Project scoping and team assembly.
2026-02-02
Design approved
PRD signed off after design review.
2026-04-15
Beta
Closed beta with 50 testers.
2026-05-01
Shipped v1
First public release.
<BsTimeline items={milestones}/>Declarative authoring
Instead of binding items, render <BsTimelineItem> children: their content is the body, and opposite / heading / marker take nodes. Handy when each item's markup is bespoke rather than uniform.
2026-01-10
Kickoff
Project scoping and team assembly.
2026-02-02
Design approved
PRD signed off after design review.
2026-04-15
Beta
Closed beta with 50 testers.
2026-05-01
Shipped v1
First public release.
<BsTimeline align="alternate"> {milestones.map((m) => ( <BsTimelineItem key={m.id} itemId={String(m.id)} color={m.color} opposite={<small className="text-body-secondary">{m.time as string}</small>} > <BsCard className="shadow-sm"> <BsCardHeader className="py-2 px-3 h6 mb-0">{m.title}</BsCardHeader> <BsCardBody className="py-2 px-3"> <BsCardText className="small text-body-secondary mb-0">{m.description}</BsCardText> </BsCardBody> <BsCardFooter className="py-1 px-3 small text-body-secondary">{m.time as string}</BsCardFooter> </BsCard> </BsTimelineItem> ))}</BsTimeline>