Installation
How to install dependencies and structure your app.
Install Hooks
CLI
Use the shadcn CLI to add hooks to your project. Dependencies are resolved automatically.
npx shadcn@latest add @shadcnhooks/use-booleannpm Package
Or install all hooks at once via npm:
npm install shadcn-hooksThen import directly:
import { useBoolean, useCounter, useClipboard } from "shadcn-hooks";Last updated on