Shadcn Hooks

useCounter

counter

useCounter

npx shadcn@latest add "https://shadcn-hooks.vercel.app/r/use-counter.json"
pnpm dlx shadcn@latest add "https://shadcn-hooks.vercel.app/r/use-counter.json"
yarn dlx shadcn@latest add "https://shadcn-hooks.vercel.app/r/use-counter.json"
bun x shadcn@latest add "https://shadcn-hooks.vercel.app/r/use-counter.json"

Copy and paste the following code into your project.

Last updated on

On this page