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-line

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

Last updated

Line Chart
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 line 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-line-default

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

Examples

chart-line-default

A line chart.

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

chart-line-dots

A line chart with dots.

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

chart-line-dots-colors

A line chart with dots and colors.

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

chart-line-dots-custom

A line chart with custom dots.

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

chart-line-interactive

An interactive line chart.

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

chart-line-label

A line chart with a label.

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

chart-line-label-custom

A line chart with a custom label.

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

chart-line-linear

A linear line chart.

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

chart-line-multiple

A multiple line chart.

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

chart-line-step

A line chart with step.

Line Chart - Step
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