Z
Zyeon UI

useToggle · Zyeon UI

A boolean-state hook with a fixed toggle/setTrue/setFalse/set action set that keeps a stable reference across renders.

npx shadcn@latest add @zyeon/use-toggle
Preview useToggle on Zyeon UI's site (opens in a new tab)

Not checked yet

Zyeon UI limits how often it can be asked, and useToggle hasn't had its turn. Its source will show here once it has.