{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "glass-checkout-card-shadcnui", "type": "registry:component", "title": "Glass Checkout Card", "description": "Glassmorphism checkout card with payment method selector and input fields", "dependencies": [ "framer-motion", "react" ], "files": [ { "path": "@uitripled/react-shadcn/src/components/components/cards/shadcnui/glass-checkout-card.tsx", "content": "\"use client\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { Card } from \"@/components/ui/card\";\nimport { Input } from \"@/components/ui/input\";\nimport { Label } from \"@/components/ui/label\";\nimport { cn } from \"@/lib/utils\";\nimport { motion } from \"framer-motion\";\nimport { Calendar, CreditCard, Lock } from \"lucide-react\";\nimport { useState } from \"react\";\n\ninterface GlassCheckoutCardProps {\n amount?: number;\n className?: string;\n}\n\nexport function GlassCheckoutCard({\n amount = 85.8,\n className,\n}: GlassCheckoutCardProps) {\n const [paymentMethod, setPaymentMethod] = useState(\"card\");\n\n return (\n \n \n
\n
\n

\n Payment Details\n

\n

\n Complete your purchase securely\n

\n
\n\n {/* Payment Methods */}\n
\n {[\"card\", \"paypal\", \"apple\"].map((method) => (\n setPaymentMethod(method)}\n className={cn(\n \"flex h-12 items-center justify-center rounded-lg border border-border/50 bg-background/50 transition-all hover:bg-background/80\",\n paymentMethod === method &&\n \"border-primary bg-primary/10 text-primary\"\n )}\n >\n {method === \"card\" && }\n {method === \"paypal\" && (\n Pay\n )}\n {method === \"apple\" && (\n Pay\n )}\n \n ))}\n
\n\n
\n
\n \n
\n \n \n
\n
\n\n
\n
\n \n
\n \n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n\n
\n \n \n
\n
\n\n \n\n

\n \n Payments are secure and encrypted\n

\n
\n
\n \n );\n}\n", "type": "registry:component", "target": "components/uitripled/glass-checkout-card-shadcnui.tsx" } ] }