Z
Zyeon UI

useWakeLock · Zyeon UI

Keeps the screen awake for the length of a task and re-acquires the wake lock the browser silently takes away whenever the tab is hidden, with gesture-safe requests and distinguishable refusal errors.

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

Not checked yet

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