Separator
poyraz/separatorFreeComponent
Poyraz Soft Glass separator component.
Install it
npx shadcn@latest add https://ui.poyrazavsever.com/r/separator.jsonSource
1"use client";23import * as React from "react";4import * as SeparatorPrimitive from "@radix-ui/react-separator";5import { cn } from "@/lib/utils";67const Separator = React.forwardRef<8 React.ComponentRef<typeof SeparatorPrimitive.Root>,9 React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>10>(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => (11 <SeparatorPrimitive.Root12 ref={ref}13 data-slot="separator"14 decorative={decorative}15 orientation={orientation}16 className={cn(17 "shrink-0",18 "border-border",19 orientation === "horizontal" ? "w-full border-t" : "h-full border-l",20 className,21 )}22 {...props}23 />24));25Separator.displayName = SeparatorPrimitive.Root.displayName;2627export { Separator };
What it pulls in
npm packages
Other registry items
Files it writes
More from poyraz
All 71 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | poyraz | Components | Free | 2 deps | |
| Alertalert | poyraz | Components | Free | 2 deps | |
| Announcement Barannouncement-bar | poyraz | Components | Free | 2 deps | |
| Autocompleteautocomplete | poyraz | Components | Free | 1 dep | |
| Avataravatar | poyraz | Components | Free | 2 deps | |
| Badgebadge | poyraz | Components | Free | 1 dep | |
| Bg Patternbg-pattern | poyraz | Components | Free | no deps | |
| Breadcrumbbreadcrumb | poyraz | Components | Free | 1 dep |
