import { CardsStats } from "@/components/atom/stats"
// Cards read their copy from the site dictionary; the demo passes an empty one.
const dictionary = { locale: "en", cards: {} } as any
export default function StatsDemo() {
return (
<>
<CardsStats dictionary={dictionary} />
</>
)
}
pnpm dlx shadcn@latest add @codebase/stats
import { CardsStats } from "@/components/atom/stats"<CardsStats />+20.1% from last month
+180.1% from last month