@arolariu/components
Version:
🎨 60+ beautiful, accessible React components built on Radix UI. TypeScript-first, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡
17 lines (16 loc) • 700 B
JavaScript
"use client";
import { jsx } from "react/jsx-runtime";
import "react";
import { Root } from "@radix-ui/react-separator";
import { cn } from "../../lib/utils.js";
function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
return /*#__PURE__*/ jsx(Root, {
"data-slot": "separator",
decorative: decorative,
orientation: orientation,
className: cn("bg-neutral-200 shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px dark:bg-neutral-800", className),
...props
});
}
export { Separator };
//# sourceMappingURL=separator.js.map