Skip to content
Component installs need the registry setup— the Base UI shadcn project, the @vegastack namespace and the Cloudflare Access service token.
VegaStack Design

charts-bar

The 10 bar chart blocks — copy-once Card compositions over the chart component and recharts, with their sample data inline.

Last updated

Bar Chart - Active
January - June 2024
Trending up by 5.2% this month
Showing total visitors for the last 6 months

What it is

10 chart blocks in the bar family. Each is one Card wrapping a ChartContainer, with its sample data inline — pull one, then point it at your own series. They depend on card and chart and nothing else.

Install

npx shadcn@latest add @vegastack/chart-bar-active

Every block on this page installs the same way; swap the name.

Examples

chart-bar-active

A bar chart with an active bar.

Bar Chart - Active
January - June 2024
Trending up by 5.2% this month
Showing total visitors for the last 6 months

chart-bar-default

A bar chart.

Bar Chart
January - June 2024
Trending up by 5.2% this month
Showing total visitors for the last 6 months

chart-bar-horizontal

A horizontal bar chart.

Bar Chart - Horizontal
January - June 2024
Trending up by 5.2% this month
Showing total visitors for the last 6 months

chart-bar-interactive

An interactive bar chart.

Bar Chart - Interactive
Showing total visitors for the last 3 months

chart-bar-label

A bar chart with a label.

Bar Chart - Label
January - June 2024
Trending up by 5.2% this month
Showing total visitors for the last 6 months

chart-bar-label-custom

A bar chart with a custom label.

Bar Chart - Custom Label
January - June 2024
Trending up by 5.2% this month
Showing total visitors for the last 6 months

chart-bar-mixed

A mixed bar chart.

Bar Chart - Mixed
January - June 2024
Trending up by 5.2% this month
Showing total visitors for the last 6 months

chart-bar-multiple

A multiple bar chart.

Bar Chart - Multiple
January - June 2024
Trending up by 5.2% this month
Showing total visitors for the last 6 months

chart-bar-negative

A bar chart with negative values.

Bar Chart - Negative
January - June 2024
Trending up by 5.2% this month
Showing total visitors for the last 6 months

chart-bar-stacked

A stacked bar chart with a legend.

Bar Chart - Stacked + Legend
January - June 2024
Trending up by 5.2% this month
Showing total visitors for the last 6 months

Do / Don't

Do
Copy the one whose shape matches your data, then replace chartData and chartConfig.
Don't
Import a chart block from the registry as a shared component — it is a starting point, not an API.

On this page