separator
nrjdalal/separatorFreeComponent
acme publishes no description for this item.
Install it
npx shadcn@latest add https://nrjdalal.dev/r/separator.jsonSource
1"use client"23import { cn } from "@/lib/utils"4import * as SeparatorPrimitive from "@radix-ui/react-separator"5import * as React from "react"67function Separator({8 className,9 orientation = "horizontal",10 decorative = true,11 ...props12}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {13 return (14 <SeparatorPrimitive.Root15 data-slot="separator-root"16 decorative={decorative}17 orientation={orientation}18 className={cn(19 "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",20 className,21 )}22 {...props}23 />24 )25}2627export { Separator }
What it pulls in
npm packages
Files it writes
More from acme
All 49 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| accordionaccordion | acme | Components | Free | 5 deps · 2 files | |
| alertalert | acme | Components | Free | 4 deps · 2 files | |
| alert-dialogalert-dialog | acme | Components | Free | 6 deps · 3 files | |
| aspect-ratioaspect-ratio | acme | Components | Free | 1 dep | |
| avataravatar | acme | Components | Free | 4 deps · 2 files | |
| badgebadge | acme | Components | Free | 5 deps · 2 files | |
| breadcrumbbreadcrumb | acme | Components | Free | 5 deps · 2 files | |
| buttonbutton | acme | Components | Free | 5 deps · 2 files |
