1import type React from "react"
2import { cva, type VariantProps } from "class-variance-authority"
3
4const neumorphEyebrowVariants = cva(
5 "rounded-full border-[.75px] px-2.5 w-fit h-6 flex items-center text-xs font-medium mb-2 shadow-[inset_0px_-2.10843px_0px_0px_rgb(244,241,238),_0px_1.20482px_6.3253px_0px_rgb(244,241,238)]",
6 {
7 variants: {
8 intent: {
9 default: "border-[#E9E3DD] text-[#36322F] bg-[#FBFAF9]",
10 primary: "border-blue-200 text-blue-800 bg-blue-50",
11 secondary: "border-green-200 text-green-800 bg-green-50",
12 },
13 },
14 defaultVariants: {
15 intent: "default",
16 },
17 }
18)
19
20interface NeumorphEyebrowProps
21 extends VariantProps<typeof neumorphEyebrowVariants> {
22 children: React.ReactNode
23 className?: string
24}
25
26export const NeumorphEyebrow: React.FC<NeumorphEyebrowProps> = ({
27 children,
28 intent,
29 className,
30 ...props
31}) => {
32 return (
33 <div className={neumorphEyebrowVariants({ intent, className })} {...props}>
34 {children}
35 </div>
36 )
37}
38
39export default NeumorphEyebrow
40