Chart Group 8 - This period vs. last periodPro
Three metric cards that overlay the current period against the previous one as solid and dashed lines, with a single toggle to show or hide the comparison and per-card percentage change. Use it in weekly business reviews or any report that needs period-over-period context.
About Chart Group 8
Three metric cards that overlay the current period against the previous one as solid and dashed lines, with a single toggle to show or hide the comparison and per-card percentage change. Use it in weekly business reviews or any report that needs period-over-period context.
Chart Group 8 is a pro chart group block for React, built on shadcn/ui and Tailwind CSS. It ships as 126 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- comparison
- period
- toggle
- line
- dashed
- kpi
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/chart-group-08Uses: card, reveal, utils.
Usage
import ChartGroup08 from "@/components/blocks/chart-group-08"
export default function Page() {
return <ChartGroup08 />
}