Nicholai bba1bab8c2 feat(components): initialize custom component library with foundational files
- Added essential configuration files including components.json, package.json, and tsconfig.json to establish the component library structure.
- Introduced global styles in globals.css and layout structure in layout.tsx for consistent design application.
- Implemented various UI components such as Accordion, AlertDialog, Button, Card, and more, enhancing the component library for future development.
- Included utility functions and hooks to support component functionality and responsiveness.

This commit sets up the groundwork for a comprehensive UI component library, facilitating a modular and scalable design system.
2025-11-25 03:01:30 -07:00

22 lines
525 B
TypeScript

import * as React from "react"
import { cn } from "@/lib/utils"
export interface DividerProps extends React.HTMLAttributes<HTMLHRElement> {}
const Divider = React.forwardRef<HTMLHRElement, DividerProps>(({ className, ...props }, ref) => {
return (
<hr
ref={ref}
className={cn(
"border-0 h-px my-16",
"bg-gradient-to-r from-transparent via-[rgba(36,27,22,0.15)] to-transparent",
className,
)}
{...props}
/>
)
})
Divider.displayName = "Divider"
export { Divider }