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: A spinning refresh button with an Off to 5m auto refresh select, over a second row with a single date Calendar popover and a Compare toggle
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 range of days or preset ranges picked in a popover with Apply and Cancel: use the Date Selector component
- A page body of metric cards and charts under the header: use the Dashboard blocks
- 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
handleRefreshonly spins the icon for 1200 ms, and the auto refreshSelectkeeps itsdefaultValuewith no timer behind itDateRangePickerstores onedatefrom aCalendarin singlemode, not a range, andcomparinginCompareToggledrives nothing- Share, Edit dashboard, Export CSV, Export PNG and Embed have no handler, and
DASHBOARD_NAMEis the fixed title 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
- date-fns v4: docs
- next-themes: API reference, docs
- React DayPicker v9: API reference, docs, through shadcn Calendar
https://web.dev.reui.io/blocks/application/navbar/navbar-6.mdget_block("navbar-6")npx shadcn@latest add @reui/navbar-6Shadcn Analytics Toolbar Block
Two-row analytics dashboard navbar with date range picker, compare toggle, and command-K search. Part of the ReUI Shadcn Application Navbar blocks collection.
Sticky analytics toolbar with breadcrumb title, calendar date range picker, compare toggle, auto-refresh select, share, export/embed dropdown, and command-K search dialog. shadcn Breadcrumb, Popover, Calendar, Select, DropdownMenu, Dialog, Kbd.
It is composed from Avatar, Breadcrumb, Button, Calendar, Dialog, Dropdown Menu, Input, Kbd, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Analytics Toolbar 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
- Org & Environment Switcher Developer platform top navbar with breadcrumb org, project and environment switchers
- 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
- 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 Analytics Toolbar block?
Use it for a spinning refresh button with an Off to 5m auto refresh select, over a second row with a single date Calendar popover and a Compare toggle.
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 range of days or preset ranges picked in a popover with Apply and Cancel, use the Date Selector component. For a page body of metric cards and charts under the header, use the Dashboard blocks. 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 Analytics Toolbar block built with?
Can I restyle the Analytics Toolbar 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.