Skip to content

BottomNav ​

Mobile bottom navigation bar fixed to the bottom of the viewport.

Four-item bottom nav ​

Tailwind v4
vue
<BottomNav>
  <BottomNavItem href="#" :active="true" label="Home">
    <template #icon>
      <!-- home SVG icon -->
    </template>
  </BottomNavItem>
  <BottomNavItem href="#" label="Search">
    <template #icon>
      <!-- search SVG icon -->
    </template>
  </BottomNavItem>
  <BottomNavItem href="#" label="Alerts">
    <template #icon>
      <!-- bell SVG icon -->
    </template>
  </BottomNavItem>
  <BottomNavItem href="#" label="Profile">
    <template #icon>
      <!-- user SVG icon -->
    </template>
  </BottomNavItem>
</BottomNav>

BottomNav Slots ​

SlotDescription
defaultOne or more BottomNavItem components

BottomNavItem Props ​

PropTypeDefaultDescription
labelstring—Text label displayed below the icon
hrefstring—Renders as <a> when provided, otherwise <button>
activebooleanfalseHighlights the item with primary blue

BottomNavItem Slots ​

SlotDescription
iconIcon content (SVG) displayed above the label

Private — Jetpack Labs internal use only