Stats
Headline numbers (years, projects, stars, awards) that count up as they scroll into view. Plain, divided or card layouts.
UsesNumber Ticker
Installation
pnpm dlx shadcn@latest add @portfolio-kit/statsFirst time? Add the @portfolio-kit registry to components.json
components.json
{
"registries": {
"@portfolio-kit": "https://www.parthjadhav.com/products/portfolio-kit/r/{name}.json"
}
}Usage
Examples
Divided
Hairline rules between cells so the numbers read like a table. Counters mix with plain text values like “AA”.
Cards
Each number on its own card. Fits a bento grid or sits next to a testimonial.
In a Section
A “by the numbers” band under a section heading, using the divided layout: four columns on desktop, two on phones.