Status Bar
Preview
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
Download the release archive to your project root, then install the local file.
Import the shared styles once in your application.
API Reference
StatusBar
datareadonly StatusBarDatum[]Observations in display order. The chart never generates or aggregates data.
—statuses?readonly StatusBarStatus[]Override the default status labels and colors, or define your own states.
—label?string—v-model:activeId?string | null—defaultActiveId?string | null—@active-change?(id: string | null) => void—labels?Partial<StatusBarMessages>Override any built-in string, including the default status labels.
—class?string—#default?slotCompose `StatusBarPlot`, `StatusBarTooltip` and `StatusBarLegend`; omit it for the complete chart.
—StatusBarLegend
showCounts?booleanfalseclass?string—#default?slotReplaces the status items.
—StatusBarPlot
class?string—barClass?stringCustomize segment height and roundness independently of the 44px hit area.
—showLabels?booleantrue#default?slotExtra content placed under the bar and its end labels.
—StatusBarTooltip
class?string—side?"top" | "right" | "bottom" | "left"top#default?StatusBarTooltipDataReplaces the default content. Receives the inspected period, its status and its index.
—Updated