复制粘贴由 shadcn/ui 启发的 react 钩子
hookcn
A collection of reusable react hooks that you can easily copy and paste into your apps or add directly through the shadcn CLI.
Demo · Report Bug · Request Feature
This project offers a collection of reusable React hooks to simplify common tasks like state management, timeouts, and element visibility. Inspired by shadcn/ui, it lets you copy hooks directly or use a the shadcn/ui CLI for easy integration. Each hook is designed with best practices for clean, efficient, and maintainable code.
(back to top)
Clone the repo
git clone https://github.com/strlrd-29/hookcnNavigate to project dir
cd hookcnInstall NPM packages
pnpm install(back to top)
Start the dev server
pnpm devOpen your browser and navigate to http://localhost:3000 to see the application in action.
(back to top)
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Distributed under the MIT License. See LICENSE for more information.
(back to top)
Ghribi Ouassim Abdelmalek - @strlrd29 -
Project Link: hookcn.ouassim.tech
(back to top)
(back to top)
暂无开放 Issues,或尚未同步最近议题。