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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9518c51 · Apr 21, 2025
Dec 29, 2024
Mar 25, 2025
Dec 29, 2024
Aug 10, 2024
Aug 6, 2024
Aug 7, 2024
Dec 29, 2024
Aug 6, 2024
Aug 6, 2024
Aug 6, 2024
Dec 25, 2024
Aug 6, 2024
Aug 8, 2024
Jan 16, 2025
Apr 21, 2025
Aug 6, 2024
Aug 27, 2024
Aug 8, 2024
Aug 6, 2024
Aug 6, 2024

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.