Stats 18 - Milestone counters on a scroll-linked trackPro
A horizontal track whose line fills as you scroll, with milestone dots, years and counting values that tick up as each one enters view. Use it to tell a growth story over several years on an about or investor page.
About Stats 18
A horizontal track whose line fills as you scroll, with milestone dots, years and counting values that tick up as each one enters view. Use it to tell a growth story over several years on an about or investor page.
Stats 18 is a pro stats block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 90 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.
- scroll
- milestones
- timeline
- counters
- number ticker
- growth
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/stats-18Dependencies installed automatically: motion.
Uses: number-ticker, reveal, use-reduced-motion, utils.
Usage
import Stats18 from "@/components/blocks/stats-18"
export default function Page() {
return <Stats18 />
}