Component librarySession manager
Components/Blocks

Session manager

Pro

Review active devices and request revocation with explicit current-session protection.

npx shadcn@latest add @tidal-pro/session-manager
Desktop viewport

Installation

Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.

Terminal
npx shadcn@latest add @tidal-pro/session-manager

Import components/ui/tidal.css, components/ui/session-manager.css, components/ui/status-badge.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.

Usage

Complete example source · Dependency and asset manifest

Loading the complete example…

API & behavior

Consumer-owned sessions require unique IDs, device content and exact last-active content; optional detail, location, dateTime, current/disabled state, icon, revoke label and native revoke button props/ref are supported. Controlled pendingSessionId, revokingOthers and loading states keep unavailable actions focusable except native-disabled props. Revoke-one and revoke-other handlers run only after caller-first unprevented native clicks; current sessions never expose revoke. A synchronous accepted action that removes its focused control restores focus to an available session action, the other-sessions action or the programmatically focusable root without scrolling. Optional confirmation/error/loading/empty slots, root native section props/ref, h2-h5 hierarchy and labels are supported. Consumers own confirmation, authorization, real sign-out, authentication, account state, requests and persistence. The component performs no network or session mutation.

Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.

Building with an agent?Give it the installation guide and component catalog.