Bar List
FREERanked horizontal bars with names, icons and values.
Installation
Terminal
npx @bloxa/cli add bar-list
# or: npx shadcn@latest add @bloxa/bar-listPackages installed automatically: motion
Examples
Top sources
Top sourcesVisits
API reference
Every component also accepts the props of the element it renders.
BarList
| Prop | Type | Default | Description |
|---|---|---|---|
| data | { name, value, icon?, href? }[] | — | Rows. |
| sort | boolean | true | Largest first. |
| onItemClick | (item) => void | — | Clickable rows. |