Chart
Responsive chart container with title, description, and loading state. Bring your own chart library.
Installation
Examples
Bar chart
Revenue overview with day labels.
Revenue overview
Last 7 daysLine chart
Trend line for monthly data.
Active users
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| height | number|string | 300 | Container height. |
| title | string | — | Chart heading. |
| description | string | — | Descriptive subheading. |
| loading | boolean | false | Shows a skeleton overlay. |
| children* | ReactNode | required | Chart library component to render. |