Bottom Nav
Mobile-first bottom tab bar with icons, labels, badges, safe-area padding, and an optional floating action button. Pair with Sidebar for responsive app layouts.
Installation
dotnet add package Lumeo
One-time app setup (AddLumeo(), CSS & JS) is covered in the
installation guide.
Usage
@using Lumeo <BottomNav />
When to Use
- Mobile or touch-first apps that need 3–5 top-level destinations always reachable
- As the small-screen half of a responsive pair:
Sidebaron desktop,BottomNavon mobile - Thumb-zone primary actions (center FAB for "Create", "Compose", "Scan")
Not for: deep navigation hierarchies, admin panels, or more than ~5 items. Use Sidebar, Tabs, or Navigation Menu for those.
Pick a value to see it applied live. Default anchors full-width to the bottom; Pill floats as a centered rounded bar.
Responsive: Sidebar ↔ BottomNav
The standard mobile pattern: show the full <Sidebar> on
md and up, and a 4-item <BottomNav> below it.
Pick the 4 most-used items — do not mirror the full sidebar tree;
bury the rest behind a "More" item or a Sheet.
Two simple rules: the Sidebar is hidden md:flex,
the BottomNav is md:hidden.
Add pb-16 md:pb-0 to your scroll container so content
isn't hidden behind the fixed bar on mobile.
API Reference
BottomNav
BottomNavItem
BottomNavFab
Related Components
- Sidebar — Use on desktop in the responsive pair
- Tabs — For switching views within a page (not top-level nav)
- Speed Dial — Alternative quick-action surface
- Sheet — Bottom sheet for "More" destinations that don't fit in 4 tabs