Bar Chart
@sushindustries/uiOne measure across a handful of categories, drawn by TanStack Charts and coloured from the site's own tones.
One paragraph on what this does and when to reach for it. This is the first
thing on the component's page and the line that goes into llms.txt, so it
should survive being read on its own.
tanstacktanstack add https://adamjurek.com/r/tanstack/bar-chart.jsonpnpm dlx shadcn@latest add https://adamjurek.com/r/shadcn/bar-chart.jsonWhy it is built this way
The decision somebody would otherwise have to reverse-engineer from the source. Not what the code does - the source says that - but what it is avoiding.
What it does not do
The boundary. A component that lists what it is not is a component you can decide against in ten seconds.
Install commands are not written here
Anything in packages/ui/registry.ts gets its TanStack, shadcn and pnpm
commands appended to the bottom of this tab, along with its version,
dependencies and files. Do not add your own - the generated ones cannot go
stale, and a second copy immediately does.
Install
tanstack add https://adamjurek.com/r/tanstack/bar-chart.jsonpnpm dlx shadcn@latest add https://adamjurek.com/r/shadcn/bar-chart.jsonpnpm add @sushindustries/ui @sushindustries/atomsWhat you get
| Version | 0.1.0 |
| Category | content · Data |
| Files | bar-chart.tsx |
| Dependencies | @tanstack/charts@^0.14.0, @tanstack/react-charts@^0.14.0, d3-scale@^4.0.2 |
| Tags | data, chart, tanstack, theme-aware |