lace:offline

Show an element only while the browser has no network connection. Elements with lace:offline are hidden by default and revealed when the browser reports it has gone offline (and hidden again when it reconnects).

<div lace:offline class="banner">
    You are offline. Changes will not be saved until you reconnect.
</div>

It reflects the browser's own online/offline state (the navigator.onLine signal), so it works on any element, anywhere on the page, with no wiring in your component.

View this page as markdown - handy as context for your AI tools. Full index at /llms.txt.

Theme
Accent
Ink