Separator
cinatra-ai/separatorFreeComponent
Cinatra design-system separator.
Live preview
live · rendered by the registry
Rendered by @cinatra-ai on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://raw.githubusercontent.com/cinatra-ai/cinatra/main/public/r/separator.jsonSource
1"use client"23import * as React from "react"4import { Separator as SeparatorPrimitive } from "radix-ui"56import { cn } from "@/lib/utils"78function Separator({9 className,10 orientation = "horizontal",11 decorative = true,12 major = false,13 ...props14}: React.ComponentProps<typeof SeparatorPrimitive.Root> & {15 /** Use the etched paired-line section divider. */16 major?: boolean;17}) {18 return (19 <SeparatorPrimitive.Root20 data-slot="separator"21 data-major={major || undefined}22 decorative={decorative}23 orientation={orientation}24 className={cn(25 "shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",26 major && "divider-etched bg-transparent",27 className28 )}29 {...props}30 />31 )32}3334export { Separator }
What it pulls in
npm packages
Other registry items
Files it writes
More from @cinatra-ai
All 14 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Alertalert | @cinatra-ai | Components | Free | 1 dep | |
| Badgebadge | @cinatra-ai | Components | Free | 2 deps | |
| Buttonbutton | @cinatra-ai | Components | Free | 2 deps | |
| Cardcard | @cinatra-ai | Components | Free | no deps | |
| Fieldfield | @cinatra-ai | Components | Free | 1 dep | |
| Inputinput | @cinatra-ai | Components | Free | no deps | |
| Input Groupinput-group | @cinatra-ai | Components | Free | 1 dep | |
| Labellabel | @cinatra-ai | Components | Free | 1 dep |
