Separator
A visual line used to separate content.
Installation
Implement this component in your project using Yumma CSS and Base UI.
pnpm add @base-ui/reactExamples
Basic
DashboardSettingsProfileHelp
import { Separator } from "@base-ui/react/separator";
export default function ExampleSeparator() { return ( <div className="d-f ai-c g-4"> <span className="fs-sm fw-600 c-slate-10">Dashboard</span> <Separator orientation="vertical" className="h-4 w-px bg-silver-3" /> <span className="fs-sm fw-600 c-slate-10">Settings</span> <Separator orientation="vertical" className="h-4 w-px bg-silver-3" /> <span className="fs-sm fw-600 c-slate-10">Profile</span> <Separator orientation="vertical" className="h-4 w-px bg-silver-3" /> <span className="fs-sm fw-600 c-slate-10">Help</span> </div> );}API Reference
Check out the Base UI documentation for more information.