Z
Zyeon UI

useOnline · Zyeon UI

An SSR-safe hook that tracks the browser's online/offline status via useSyncExternalStore.

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

Not checked yet

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