Use Script
shadcn-io/use-scriptPaidHook
React useScript hook for dynamically loading external scripts. Load status tracking, caching, SSR safe. TypeScript ready.
Live preview
live · rendered by the registry
Rendered by shadcn-io on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://shadcn.io/r/use-script.jsonWhat it pulls in
npm packages
Files it writes
More from shadcn-io
All 7,794 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Use Booleanuse-boolean | shadcn-io | Hooks | Paid | no deps | |
| Use Click Anywhereuse-click-anywhere | shadcn-io | Hooks | Paid | no deps | |
| Use Copy To Clipboarduse-copy-to-clipboard | shadcn-io | Hooks | Paid | 1 dep | |
| Use Countdownuse-countdown | shadcn-io | Hooks | Paid | no deps | |
| Use Counteruse-counter | shadcn-io | Hooks | Paid | no deps | |
| Use Dark Modeuse-dark-mode | shadcn-io | Hooks | Paid | 1 dep | |
| Use Debounce Callbackuse-debounce-callback | shadcn-io | Hooks | Paid | 2 deps | |
| Use Debounce Valueuse-debounce-value | shadcn-io | Hooks | Paid | 1 dep |
