Skip to content
/ hooks Public

A collection of reusable react hooks for state and UI management

License

Notifications You must be signed in to change notification settings

codiume/hooks

Repository files navigation

🪝 Hooks

Version Downloads Github Actions Make a PR Typescript Formatted with Biome

A collection of reusable react hooks for state and UI management

Installation

# Using PNPM
pnpm install @codiume/hooks
# Using Bun
bun add @codiume/hooks
# Using NPM
npm install @codiume/hooks
# Using Yarn
yarn add @codiume/hooks

Hooks

Hook Description
use-clipboard Copy text to the clipboard with ease
use-hover Tracks the hover state of a DOM element
use-in-viewport Detects if element is visible in the viewport
use-local-storage Manages state with localStorage synchronization
use-media-query Track if a media query matches the viewport
use-queue Manage state of elements in FIFO-like strategy
use-scroll Tracks scroll position of an element
use-singleton Creates a value exactly once
use-window-scroll Tracks scroll position of the window

Contributing

Please see Contributing.md for details.

Security

If you discover any security related issues, please email author instead of using the issue tracker.

Changelog

Please see the Changelog for more information on what has changed recently.

License

Please see the LICENSE for more information.

About

A collection of reusable react hooks for state and UI management

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Contributors 4

  •  
  •  
  •  
  •