// Navigation
Bottom Navigation
Fixed bottom nav for mobile-first apps.
// Rendering preview…
// Install
npx shadcn@latest add @dakik/bottom-navigation// Usage
1import { BottomNavigation, BottomNavigationList, BottomNavigationItem, BottomNavigationItemIcon } from "@/components/ui/bottom-navigation";23<BottomNavigation />// Code
1"use client";23import { ark } from "@ark-ui/react/factory";4import { Tabs as ArkTabs } from "@ark-ui/react/tabs";5import type React from "react";6import { cn } from "@/lib/utils";78export const BottomNavigation = (9 props: React.ComponentProps<typeof ArkTabs.Root>10) => {11 const { className, ...rest } = props;1213 return (14 <ArkTabs.Root15 className={cn(16 "w-full",17 "min-h-[calc(var(--spacing)*14+env(safe-area-inset-bottom,0))]",18 className19 )}20 data-slot="bottom-navigation"21 {...rest}22 />23 );24};2526export const BottomNavigationList = (27 props: React.ComponentProps<typeof ArkTabs.List>28) => {// Dependencies