line and area
Single-series line chart in a card whose header holds a headline value, a signed delta and a range switch that drives all three. Use it for one primary metric such as revenue or active users.
How it differs. The range control sits in the header and drives the headline, the delta, the plot and a stat strip together, so chart and stat tile are one component with a dashed previous-period line.
shadcn add @hazine/line-chart-range-switch
Depends on button, card, chart, @hazine/use-controllable-state, lucide-react, recharts