21.4 KB
11 tested
12 hooks

use​Click Outside

useClickOutside

triggers a callback when a click occurs outside the

use​Clipboard

useClipboard

copy-to-clipboard with success feedback timeout.

use​Crud

useCrud

generic CRUD operations over a service layer with optimistic state.

use​Date Range

useDateRange

persist a { from, to } date range to/from localStorage.

use​Debounce

useDebounce

debounces a callback by the given delay.

use​Fetch

useFetch

one-shot async data fetching with loading/error state.

use​Keyboard

useKeyboard

global keyboard shortcut listener with modifier support.

use​Local Storage

useLocalStorage

SSR-safe state synchronization with localStorage.

use​Media Query

useMediaQuery

reactive CSS media query matcher.

use​Polling

usePolling

periodic data fetching with automatic cleanup.

use​Set Toggle

useSetToggle

manages a Set<string> with toggle/toggleAll semantics and

use​Tween Value

useTweenValue

out cubic — fast start, gentle landing.