+ {icon &&
{icon}
}
+
+ {title && (
+
+ {title}
+
+ )}
+
+ {description && (
+
+ {description}
+
+ )}
+
+ {children}
+
+ )
+}
\ No newline at end of file
diff --git a/lp-code/src/components/ui/card/card.variants.ts b/lp-code/src/components/ui/card/card.variants.ts
new file mode 100644
index 0000000..697abbe
--- /dev/null
+++ b/lp-code/src/components/ui/card/card.variants.ts
@@ -0,0 +1,19 @@
+import { cva, type VariantProps } from "class-variance-authority"
+
+export const cardVariants = cva(
+ "rounded-2xl border bg-background p-6 transition-all",
+ {
+ variants: {
+ variant: {
+ default: "border-muted",
+ elevated: "shadow-lg border-transparent",
+ ghost: "border-transparent bg-transparent",
+ },
+ },
+ defaultVariants: {
+ variant: "default",
+ },
+ }
+)
+
+export type CardVariants = VariantProps