Tab BarTab Bar
모바일 하단의 아이콘 탭 막대입니다.An icon tab bar at the bottom of mobile screens.
내비게이션Navigation
import { HoronIcon, TabBar } from "@horon-ai/react"; import { Bell, Cube, User } from "@phosphor-icons/react"; import { useState } from "react"; const items = [ { value: "horon", label: "Horon", icon: <HoronIcon /> }, { value: "inbox", label: "Inbox", icon: <Bell /> }, { value: "artifacts", label: "Artifacts", icon: <Cube /> }, { value: "me", label: "Me", icon: <User /> }, ]; export default function TabBarDemo() { const [value, setValue] = useState("horon"); return ( <> <TabBar items={items} value={value} onValueChange={setValue} size="sm" /> <TabBar items={items} value={value} onValueChange={setValue} /> <TabBar items={items} value={value} onValueChange={setValue} size="lg" /> </> ); }