For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: Three chained switchers for organization, project and environment, each environment marked by a colored dot, beside an Upgrade button
When to use
- The top bar of a signed in product, with a breadcrumb or switchers, search, alerts, avatars or a user menu
- An editor toolbar with a back or close button, the page name and its run, publish or submit action
- A marketing site header with mega menu panels of linked pages and a Get Started button
When not to use
- A sidebar rail that holds the workspace switcher and the nested navigation: use the Icon Rail Dashboard block
- A design system header with centered section tabs and a version badge: use the Design System Manager block
- A whole product layout with a side rail, a header and the content area together: use the App Shell blocks
- A keyboard palette that lists, groups and filters results as you type: use the Command component
- The account settings page a user menu opens, with team, billing and API key forms: use the Profile blocks
Agent notes
WORKSPACES,PROJECTSandENVIRONMENTSare sample lists, and each switcher only keeps its pick in localactivestate- The Upgrade
Buttonand the Documentation, API Reference, Notifications and Appearance items inNavbarStatushave no handler - Each environment dot is the
colorclass set inENVIRONMENTS, so give a new environment its owncolor Navbartakes no props, so every label, person and option it shows is fixed in the block; lift them into props to reuse it- No button, link or menu item routes or calls an API; add an
onClickor a realhrefwhere each one should go - Each page.tsx adds only demo padding or dashed placeholder boxes around
Navbar, none of which belongs in your layout
Third-party API docs
- next-themes: API reference, docs
https://web.dev.reui.io/blocks/application/navbar/navbar-3.mdget_block("navbar-3")npx shadcn@latest add @reui/navbar-3Shadcn Components in the Org & Environment Switcher Block
Dependencies
- cn
- next-themes
Shadcn Org & Environment Switcher Block
Developer platform top navbar with breadcrumb org, project and environment switchers. Part of the ReUI Shadcn Application Navbar blocks collection.
Header for dev tools and PaaS dashboards: breadcrumb of organization, project and color-dotted environment switchers, docs and settings menus, Upgrade button, avatar menu with light/dark/system theme toggle. shadcn Breadcrumb, DropdownMenu, Avatar.
It is composed from Avatar, Breadcrumb, Button, Dropdown Menu, Separator, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Org & Environment Switcher Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn Application Navbar blocks to assemble a full screen instead of a single section.
All Shadcn Application Navbar Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Project Workspace Project workspace navbar with breadcrumb, line tabs, and a collaborator avatar stack
- Team Presence Sticky workspace navbar with breadcrumb trail, team presence avatars, and filter and sort menus
- Admin Command Search Admin console top navbar with centered Cmd+K command search and a notifications popover feed
- Workflow Editor Compact workflow editor navbar with active toggle, Test Run action, and history
- Analytics Toolbar Two-row analytics dashboard navbar with date range picker, compare toggle, and command-K search
- CMS Publish Bar CMS editor navbar with co-presence avatars and a split Publish button
- Agent Marketplace AI agent marketplace navbar with category filter pills, Deploy CTA, and notifications popover
- Repo Branch Picker Code editor app header with repo path breadcrumb and branch dropdown selector
- API Developer Portal API developer portal navbar with service switcher, HTTP request bar, and account menu
- Design System Manager Design system manager top navbar with center section tabs, version badge, and sync source switcher
- Marketing Mega Menu Marketing navbar with icon mega-menu dropdowns and a sliding-arrow Get Started button
- Editor Action Bar Compact editor action bar navbar with close button, document title, and submit action
Related Shadcn Application Block Categories
- App Shell (35) App shell layouts with sidebar, rail, or top bar navigation for dashboards, settings panels, and multi-page apps.
- Auth (20) Login, register, forgot password, and two-factor authentication page layouts.
- Card (43) Card components for content display, data summaries, and interactive elements.
- Dashboard (8) Dashboard components and layouts that combine stats, charts, and tables into a complete overview screen.
- Dialog (14) Dialog components for modal windows, alerts, confirmations, and content overlays.
- Empty State (14) Empty state screens and no-data placeholders with recovery actions, onboarding prompts, and contextual guidance.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the Org & Environment Switcher block?
Use it for three chained switchers for organization, project and environment, each environment marked by a colored dot, beside an Upgrade button.
The Navbar category fits:
- The top bar of a signed in product, with a breadcrumb or switchers, search, alerts, avatars or a user menu
- An editor toolbar with a back or close button, the page name and its run, publish or submit action
- A marketing site header with mega menu panels of linked pages and a Get Started button
For a sidebar rail that holds the workspace switcher and the nested navigation, use the Icon Rail Dashboard block. For a design system header with centered section tabs and a version badge, use the Design System Manager block. For a whole product layout with a side rail, a header and the content area together, use the App Shell blocks. For a keyboard palette that lists, groups and filters results as you type, use the Command component. For the account settings page a user menu opens, with team, billing and API key forms, use the Profile blocks.
What is the Org & Environment Switcher block built with?
Can I restyle the Org & Environment Switcher block?
How should I use Shadcn navbar blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.