Breadcrumb HeaderBreadcrumb Header
브레드크럼과 검색·더보기 아이콘 버튼을 한 줄에 담은 유리 머리말입니다. onSearch와 onMore를 넘길 때만 해당 버튼이 나타납니다.A glass header with a breadcrumb and search/more icon buttons in one row. Each button appears only when onSearch or onMore is passed.
내비게이션Navigation
Solid
Glass
import { BreadcrumbHeader } from "@horon-ai/react"; function Examples({ surface }: { surface: "solid" | "glass" }) { return ( <div className="flex w-full flex-col items-center gap-3"> <BreadcrumbHeader surface={surface} className="w-full max-w-180" onSearch={() => undefined} onMore={() => undefined} crumbs={[ { label: "Horon HQ", tile: "H", href: "#" }, { label: "Q4 hiring", href: "#" }, { label: "Chief of staff" }, ]} /> <BreadcrumbHeader surface={surface} className="w-full max-w-97.5" onSearch={() => undefined} onMore={() => undefined} crumbs={[{ label: "Horon HQ", tile: "H", href: "#" }, { label: "Settings" }]} /> </div> ); } export default function BreadcrumbHeaderDemo() { return ( <div className="flex w-full flex-col gap-6"> <div className="flex w-full flex-col gap-4"> <p className="text-caption text-text-secondary">Solid</p> <Examples surface="solid" /> </div> <> <p className="text-caption text-text-secondary">Glass</p> <Examples surface="glass" /> </> </div> ); }