# Sparkline

> Compact inline trend chart for embedding in stat cards and tables.
> Source: https://otf-kit.dev/components/sparkline

## At a glance

- **Platform:** Web (React)
- **Category:** Data
- **Package:** `@otfdashkit/ui` (free, MIT)
- **Tags:** chart, mini, trend

## Install

```bash
bun add @otfdashkit/ui
```

## Usage

```tsx
import { Sparkline } from '@otfdashkit/ui'
```

The `<Sparkline>` component ships the same prop API on web (`@otfdashkit/ui`) and native (`@otfdashkit/ui-native`) where a parity version exists.

## Links

- Live preview + code: https://otf-kit.dev/components/sparkline
- Storybook: https://ui.otf-kit.dev
- All components: https://otf-kit.dev/components
