separator
9ui/separatorFreeComponent
9ui publishes no description for this item.
Live preview
live · rendered by the registry
Rendered by 9ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://9ui.dev/r/separator.jsonSource
1import * as React from "react"2import { Separator as BaseSeparator } from "@base-ui/react/separator"34import { cn } from "@/lib/utils"56function Separator({7 className,8 orientation = "horizontal",9 ...props10}: React.ComponentProps<typeof BaseSeparator>) {11 return (12 <BaseSeparator13 data-slot="separator"14 orientation={orientation}15 className={cn(16 "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=vertical]:w-px",17 className18 )}19 {...props}20 />21 )22}2324export { Separator }
Files it writes
More from 9ui
All 56 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| accordionaccordion | 9ui | Components | Free | no deps | |
| alertalert | 9ui | Components | Free | no deps | |
| alert-dialogalert-dialog | 9ui | Components | Free | no deps | |
| aspect-ratioaspect-ratio | 9ui | Components | Free | no deps | |
| autocompleteautocomplete | 9ui | Components | Free | no deps | |
| avataravatar | 9ui | Components | Free | no deps | |
| badgebadge | 9ui | Components | Free | no deps | |
| breadcrumbsbreadcrumbs | 9ui | Components | Free | no deps |
