Skip to content
项目

关于

受 shadcn/ui 启发的 React Hooks,复制粘贴即可使用。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

Table of Contents

About The Project

hookcn Screen Shot

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)

Installation

  1. Clone the repo

    git clone https://github.com/strlrd-29/hookcn
    
  2. Navigate to project dir

    cd hookcn
    
  3. Install NPM packages

    pnpm install
    

(back to top)

Usage

Start the dev server

pnpm dev

Open your browser and navigate to http://localhost:3000 to see the application in action.

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Ghribi Ouassim Abdelmalek - @strlrd29 - [email protected]

Project Link: hookcn.ouassim.tech

(back to top)

Acknowledgments

(back to top)

探索相关项目

加载中…