Sparkline
ChartsShow compact inline trends in stat cards, table cells, and other small spaces.
Pair a key metric with a Sparkline to show its value and trend together.
bun add @reopt-ai/opt-chartsimport { MetricsCard } from "@reopt-ai/opt-charts";Change the width and theme, then interact with the components.
Show compact inline trends in stat cards, table cells, and other small spaces.
Compare cohort retention using color intensity in a heatmap.
Combine a Card and AreaChart with the title and description linked to the chart's accessible name.
Render report data as line, bar, area, pie, scatter, gauge, funnel, sparkline, or metric widgets.
Wrap Recharts ResponsiveContainer with accessible attributes and consistent chart styling.
Style Recharts tooltips with tooltip semantics and hidden decorative markers through the content prop.