True while the browser reports a network connection, updating when it goes offline or comes back, safe for server rendering.
pnpm dlx shadcn@latest add "https://ui.tealmac.com/r/use-online-status.json"