Component libraryWorkspace footer
Workspace footer
ProAccount identity, workspace selection and session actions for an app shell.
npx shadcn@latest add @tidal-pro/footer-workspaceInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/footer-workspace.css, components/ui/native-select.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
Required brand, heading, identity, workspace options, activeWorkspaceId and onWorkspaceChange callback. Workspace options require unique nonblank IDs and consumer-owned role, status and labels; disabled options cannot be proposed. The native select forwards safe caller attributes, native input, keyboard and pointer callbacks and a direct ref. Account links require unique IDs and suppress href plus click and auxiliary activation when disabled. Sign-out state, callbacks, session handling, routing, authorization, tenant data and persistence remain consumer-owned; the component performs no auth or network work. The responsive neutral layout keeps 44px links, select and sign-out targets, 16px editing text, long organization wrapping, RTL-safe layout and reduced motion.
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.