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.
RoleGate
Render children only if the current user has one of the listed
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