# Sparkline

Show a compact trend beside a value.

- ID: `sparkline`
- Import: `animui/sparkline`
- Category: Data
- Runtime exports: `Sparkline`, `default`
- Declaration: `types/free/components/sparkline.d.ts`
- Type provenance: emitted-original-typescript
- Related: bar-chart, metric-card, gauge

```tsx
import { Sparkline } from 'animui/sparkline';
```

This import example is not a complete render recipe: read the declaration below and its local references for required props, data, callbacks and provider context. Use `animui info sparkline` to resolve the local declaration graph. Global setup is in `llms.txt`.

```ts
export { Sparkline, default } from '../registry/components/sparkline/sparkline.js';
export type { SparklineProps } from '../registry/components/sparkline/sparkline.js';
```
