Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Timeline

Preview

Use the left and right arrow keys to move between events.

  • Jun 12 ’25

    Private beta opens

    1,204
  • Aug 3 ’25

    Lumen for Android

    3,918
  • Oct 14 ’25

    Offline drafts

    4,827
  • Nov 20 ’25

    Weekly signups double

    6,175
  • Jan 9 ’26

    Shared spaces

    2,640
  • Mar 17 ’26

    The command menu

    ⌘K
    5,302
  • May 28 ’26

    Top 10 in productivity

    13,916
  • Aug 5 ’26

    Lumen 2.0

    2.0
    27,130

Install

Add it with your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/timeline

Import the shared styles once in your application.

TSUsage
import Timeline from '@/components/beui/layout/Timeline.vue'
import '@/components/beui/styles.css'

API Reference

events
readonly TimelineEvent[]
Default—
v-model?
string

Focused event id (controlled).

Default—
defaultValue?
string

Initially focused event id (uncontrolled). Defaults to the first event.

Default—
@value-change?
(id: string) => void
Default—
itemWidth?
number

Card width in px at full size. Shrinks to fit narrow containers.

Default340
height?
number

Stage height in px.

Default600
years?
boolean

Large year numerals drifting behind the cards.

Defaulttrue
ruler?
boolean

A group of ticks in each gap between cards.

Defaulttrue
cables?
boolean

Lines fanning from the top and bottom center to the cards near the center.

Defaulttrue
formatDate?
(date: Date) => string
Default—
formatYear?
(date: Date) => string
Default—
aria-label?
string
Default—
labels?
Partial<TimelineMessages>

Override any built-in string.

Default—
className?
string
Default—
locale?
string

BCP 47 tag for the card dates, mirroring the React `LocaleProvider`. Without one the labels stay English ("Mar 4 ’24").

Default—
label?
string

Accessible name of the stage.

Default—
#media?
{ event: TimelineEvent; index: number }
Default—
#meta?
{ event: TimelineEvent }
Default—

Used in these Pro blocks

Updated