Org Switcher
Organization selector in the sidebar of a multi-tenant control panel.
About this block
What it's for
- Organization selector in the sidebar of a multi-tenant control panel.
- Workspace selector in the top bar with an option to create a new company.
- Switcher between a personal account and work organizations on a B2B platform.
Includes
- Combobox selection
- Live search filtering
- Organization grouping
- Plan badging
- Keyboard navigation
- Create org dialog
- Slug auto generation
- Plan selection
Works with
- Radix UI primitives (the registry variant it ships in)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
- 1 template or blueprint on this site use it (below)
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add org-switcherInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/org-switcherUsed in
- Type
- Block
- Variants
- Radix UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- npm packages
lucide-react- Registry dependencies
lib-primitives- Files
4 files
- components/agentic-ui/org-switcher/index.tsx
- components/agentic-ui/org-switcher/types.ts
- components/agentic-ui/org-switcher/create-org-dialog.tsx
- components/agentic-ui/org-switcher/org-switcher.tsx
Related components
Org Permissions Matrix
Organization settings defining what each role can do on projects, members and billing.
Details and live previewOrg Team Invite
Invite the team to a workspace with viewer, member, billing and admin roles.
Details and live previewA11y Contrast Badge
Check in the browser whether the theme palette meets AA before opening the PR.
Details and live previewA11y Focus Manager
Confirmation dialog that returns focus to the button that opened it.
Details and live preview