Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

hookcn

> 编程语言
Open source

Copy paste react hooks inspired by shadcn/ui

381 stars0 likes0 views
WebsiteGitHub

About

Copy paste react hooks inspired by shadcn/ui

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

  • Table of Contents
  • About The Project
  • Installation
  • Usage
  • Roadmap
  • Contributing
  • License
  • Contact
  • Acknowledgments

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

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

    bash
    cd hookcn
  3. Install NPM packages

    bash
    pnpm install

(back to top)

Usage

Start the dev server

bash
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 -

Project Link: hookcn.ouassim.tech

(back to top)

Acknowledgments

  • usehook-ts
  • usehooks

(back to top)

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言