enzostvs's picture
enzostvs HF Staff
Upload 172 files
9cd6ddb verified
raw
history blame contribute delete
598 Bytes
export const Tag = ({
label,
children,
className,
}: {
label: string;
children: any;
className?: string;
}) => {
return (
<div
className={`mx-auto max-w-max flex items-center justify-start rounded-full bg-white bg-opacity-20 transition-all duration-200 hover:bg-opacity-40 cursor-pointer gap-3 py-1 pl-1 pr-5 backdrop-blur-sm ${className}`}
>
<div className="text-xs rounded-full px-2.5 py-1 text-dark-default text-opacity-50 font-bold bg-green">
{label}
</div>
<p className="text-white font-semibold text-sm">{children}</p>
</div>
);
};