Feature 223 - Oversized metric with period togglePro
One huge headline metric with a 7d / 30d / 90d segmented toggle that swaps the value, delta and a column chart, followed by three supporting stats.
About Feature 223
One huge headline metric with a 7d / 30d / 90d segmented toggle that swaps the value, delta and a column chart, followed by three supporting stats.
Feature 223 is a pro feature block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 97 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.
- analytics
- metric callout
- period toggle
- chart
- big number
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/feature-223Dependencies installed automatically: lucide-react, motion.
Uses: reveal, utils.
Usage
import Feature223 from "@/components/blocks/feature-223"
export default function Page() {
return <Feature223 />
}