Free, open-source library of custom hooks for shadcn/ui
Built with React, TypeScript, and Tailwind CSS
Features 20+ hooks for state management, animations, and interactions
Supports copy-paste integration and shadcn CLI
MIT-licensed with 500+ GitHub stars and Vercel demo
Shadcn Hooks is a free, open-source library of custom React hooks designed to enhance shadcn/ui components with reusable logic for state management, animations, and user interactions. Created to simplify common patterns in shadcn/ui projects, its primary goal is to provide developers with pre-built hooks that reduce boilerplate code, targeting React developers building dashboards, forms, or interactive UIs. Built with React, TypeScript, Tailwind CSS, and Framer Motion, shadcn Hooks includes 20+ utilities like useClipboard, useDebounce, and useLocalStorage, all optimized for shadcn/ui's accessible components. It emphasizes copy-paste simplicity with shadcn CLI support. For the shadcn/ui community, shadcn Hooks is a perfect fit, extending shadcn/ui's philosophy of composable, customizable UI with logic-focused hooks for React applications.
Custom Hooks: 20+ utilities for clipboard, debounce, local storage, and more.
ShadCN UI Integration: Built specifically for shadcn UI components and patterns.
Accessibility: Supports WAI-ARIA compliance with shadcn UI primitives.
CLI Support: Add hooks with npx shadcn@latest add for quick setup.
Responsive Design: Tailwind CSS ensures hooks work across screen sizes.
Type Safety: TypeScript ensures robust, error-free development.
Reduces Boilerplate: Pre-built hooks save time on common patterns.
Free and Open-Source: MIT license allows unrestricted use and modification.
ShadCN UI Fit: Perfect for shadcn UI with React and Tailwind foundation.
Community Support: 500+ GitHub stars and active engagement.
Easy Integration: Copy-paste model with CLI simplifies adding hooks.
React Dependency: Limited to React projects, though fitting for shadcn UI.
Setup Complexity: Requires shadcn UI and Tailwind CSS pre-installed.
Limited Scope: Focuses on hooks, not full components.
Learning Curve: Familiarity with shadcn UI and React hooks needed.
Shadcn Hooks offer a variety of utility hooks:
useClipboard: Copy text to clipboard with feedback UI.
useDebounce: Debounce values for search or input handling.
useLocalStorage: Persistent state with localStorage sync.
useMediaQuery: Responsive queries for conditional rendering.
Shadcn Hooks operate on a Free model:
Free Access: All hooks are free under MIT license.
No Pro Version: No premium features or paid tiers.
Shadcn Hooks integrate with:
React: Core framework for hook implementation.
ShadCN UI: Accessible component library for styling and structure.
Tailwind CSS: Utility-first styling for responsive design.
TypeScript: Ensures type-safe hook usage.
Framer Motion: Animation support for interactive hooks.
Shadcn Hooks is a free library of custom hooks for shadcn UI, providing reusable logic for components.
Yes, all hooks are free under MIT license.
No, designed for React and shadcn UI ecosystems.
A comprehensive React Hooks Collection built with Shadcn
Submit your Shadcn product to AllShadcn, get featured, and drive genuine traffic while showcasing your work to the world. Turn your creativity into revenue and begin selling today! 🚀