Domain / Tenant Switcher
ui-codarise/domain-tenant-switcherUnverifiedBlock
A large popover switcher for domains and their tenants. Global search filters both lists at once (fuzzy); left column lists domains with avatar, role badge, and settings gear; right column lists tenants of the selected domain. Clicking a tenant switches context and closes the popover. Includes per-column loading skeletons, error retry, empty states, keyboard nav (↑↓/Enter/Esc), and a custom-trigger slot. Framework-agnostic — pass data + callbacks (onDomainChange/onTenantChange/onCreate*/onOpen*Settings).
Install it
npx shadcn@latest add https://raw.githubusercontent.com/codarise/ui/main/registry/blocks/domain-tenant-switcher.jsonThis registry does not serve an item endpoint we could read, so we hold its metadata but not its source.
What it pulls in
npm packages
Other registry items
Files it writes
More from ui
All 16 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Bento Cardbento-card | ui | Blocks | Unverified | no deps | |
| Chat Bubblechat-bubble | ui | Blocks | Unverified | no deps · 2 files | |
| Chat Markerchat-marker | ui | Blocks | Unverified | no deps | |
| Chat Message Rowchat-message-row | ui | Blocks | Unverified | no deps | |
| Error Stateerror-state | ui | Blocks | Unverified | 1 dep | |
| Featured Cardfeatured-card | ui | Blocks | Unverified | no deps | |
| Loading Stateloading-state | ui | Blocks | Unverified | no deps | |
| Model Cardmodel-card | ui | Blocks | Unverified | 1 dep |
