Veil UI
Components

Bottom Navbar

Alias of Bottom Navigation for mobile tab bars.

Installation

$ npx veil-ui@latest add bottom-navbar

Usage

import { Home, Settings } from "lucide-react";
import { BottomNavbar } from "@/components/ui/bottom-navbar";

<BottomNavbar
  items={[
    { label: "Home", icon: Home, href: "/", active: true },
    { label: "Settings", icon: Settings, href: "/settings" },
  ]}
/>;

Examples

Basic

API reference

BottomNavbar re-exports BottomNavigation under a navbar-oriented name; props and accessibility notes are identical.

Accessibility

  • The alias keeps the labelled <nav> landmark and aria-current handling from Bottom Navigation.

Vue and plain HTML

This component also ships for Vue (Reka UI) and plain HTML. Install it with npx veil-ui add bottom-navbar --framework vue or switch the framework in components.json.

<script setup lang="ts">
import { BottomNavigation } from "@/components/ui/bottom-navigation";

import type { BottomNavbarProps } from "./types";

const props = defineProps<BottomNavbarProps>();
</script>

<template>
  <BottomNavigation
    :items="props.items"
    :variant="props.variant"
    :class="props.class"
    :on-select="props.onSelect"
  />
</template>

On this page