import { Separator as Divider, type SeparatorProps } from "react-aria-components"
import { twMerge } from "tailwind-merge"
const Separator = ({ orientation = "horizontal", className, ...props }: SeparatorProps) => {
return (
<Divider
className={twMerge(
"shrink-0 bg-border",
"forced-colors:bg-[ButtonBorder]",
orientation === "horizontal" ? "h-px w-full" : "h-full w-px",
className,
)}
{...props}
/>
)
}
export type { SeparatorProps }
export { Separator }
npx shadcn@latest add @intentui/separatorimport { Separator } from "@/components/ui/separator"<Separator />