State Hooks
State helpers for booleans, counters, maps, steps, toggles, and countdown flows.
Hooks for common local state patterns and step/count workflows.
Hooks
useBoolean
Boolean state with
setTrue, setFalse, and toggle helpers.useCounter
Numeric counter with increment, decrement, reset, and direct set.
useMap
Manage
Map state with set/remove/reset actions.useStep
Constrained step navigation for multi-step flows.
useToggle
Minimal boolean toggle with direct setter access.
useCountdown
Start, stop, and reset a configurable countdown.