# Line chart

> Multi-series line chart with smooth monotone curves and an active-dot hover state.

**BuildSpace v2.** Read https://ui.buildspace.studio/design.md first. Setup (fonts and namespace): https://ui.buildspace.studio/#install. The theme replaces Ink & Paper; review CSS changes before reinstalling in an existing project.

- **Name:** `chart-line`
- **Type:** block (`registry:block`)
- **Registry item:** https://ui.buildspace.studio/r/chart-line.json

## Install

```sh
npx shadcn add https://ui.buildspace.studio/r/chart-line.json
```

## Dependencies

npm packages (installed automatically): `recharts`

Registry items (installed automatically by the shadcn CLI):

- `@buildspace/buildspace` — BuildSpace item, see https://ui.buildspace.studio/r/buildspace.md
- `@buildspace/chart-container` — BuildSpace item, see https://ui.buildspace.studio/r/chart-container.md

> **Required first step:** add a `registries.@buildspace` entry to your project's `components.json` (`"@buildspace": "https://ui.buildspace.studio/r/{name}.json"`) before running the install command above — the shadcn CLI needs it to resolve the `@buildspace/*` dependency names above, even though this item itself installs from a full URL.

## Files

- `registry/new-york/blocks/chart-line/chart-line.tsx`
