Navigation

The Navigation component is used to create a navigation bar typically placed at the top, bottom or the side of an app. It allows users to switch between different sections or views within the app.

terminal
code

Usage

import { BakaBottomNavigation, BakaNavigationItem, BakaIcon, BakaText, BakaBadge } from "baka-ui";

// Inside your component
<BakaNavigation>
  <BakaNavigationItem selected={true}>
    <BakaIcon variant={"filled"}>fiber_manual_record</BakaIcon>
    <BakaText>BakaText</BakaText>
  </BakaNavigationItem>
</BakaNavigation>;

Variants

The Navigation component supports three variants — rail, bottom, and side.

Rail

The following example demonstrates the Navigation component with the rail variant.

terminal
code

Bottom

The following example demonstrates the Navigation component with the bottom variant.

terminal
code
Bottom with Labels

The following example demonstrates the Navigation component with the bottom variant and labels.

terminal
code

Side

The following example demonstrates the Navigation component with the side variant.

terminal
code