Skip to content
rw3iss Auth

Atoms

Single-purpose primitives — buttons, badges, gates, indicators. Drop-in pieces with minimal styling.

AuthLoading

Renders fallback while the AuthClient is still bootstrapping

AuthStatusBadge

Tiny pill rendering the current auth status.

GuestOnly

Inverse of ProtectedRoute — render children only when NOT

LogoutAllButton

Sign out of every session on every device for the current user.

LogoutButton

Single-shot logout button.

PasswordStrengthMeter

Inline password-strength bar.

PermissionGate

Render children only if the current user has the requested

ProtectedRoute

Render children only if the caller is authenticated.

ProviderBranding

The provider’s mark — icon above/beside its name.

ProviderIcon

The provider’s icon, with two deliberate degrades:

RoleGate

Render children only if the current user has one of the listed

SignInWithProvider

Which label fits width px.

SsoButton

Base “Sign in with X” button.

SsoButtonGroup

TokenExpiryCountdown

Live countdown to the cached access token’s expiry.

UserAvatar

Square user avatar.

UserMenu

Header-level user menu — avatar trigger + dropdown with profile