Separator
uiable/separatorFreeComponent
Separator component.
Live preview
live · rendered by the registry
Rendered by uiable on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://uiable.com/r/separator.jsonSource
1"use client";23import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";45import { cn } from "@/lib/utils";67function Separator({8 className,9 orientation = "horizontal",10 ...props11}: SeparatorPrimitive.Props) {12 return (13 <SeparatorPrimitive14 data-slot="separator"15 orientation={orientation}16 className={cn(17 "bg-border shrink-0 data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",18 className19 )}20 {...props}21 />22 );23}2425export { Separator };
What it pulls in
npm packages
Files it writes
More from uiable
All 712 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | uiable | Components | Free | 2 deps | |
| Alertalert | uiable | Components | Free | 1 dep | |
| Alert Dialogalert-dialog | uiable | Components | Free | 1 dep | |
| Aspect Ratioaspect-ratio | uiable | Components | Free | no deps | |
| Attachmentattachment | uiable | Components | Free | 2 deps | |
| Avataravatar | uiable | Components | Free | 1 dep | |
| Badgebadge | uiable | Components | Free | 2 deps | |
| Breadcrumbbreadcrumb | uiable | Components | Free | 2 deps |
