AuthStatusBadge
Tiny pill rendering the current auth status. Drives entirely off the AuthClient snapshot — no extra state — so it stays in sync across the app and across tabs.
Usage
Theming via CSS variables on .vauth-status-badge. Reads
—vauth-color-success, —vauth-color-warn, —vauth-color-muted
from the surrounding scope.
Usage
import { AuthStatusBadge } from '@rw3iss/auth-client/preact/atoms';
<AuthStatusBadge />Props
| Name | Type | Description |
|---|---|---|
client | AuthClient | Optional override; defaults to the AuthProvider-supplied client. |
className | string | Extra className(s) to merge. |