import { Button } from "@/components/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card" import { Badge } from "@/components/ui/badge" import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs" import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" import { Separator } from "@/components/ui/separator" export function EcommerceUI() { return (

E-commerce Components

Build beautiful shopping experiences with these customized e-commerce components

{/* Product Cards */}
{[ { name: "Modern Desk Lamp", price: "$89.99", image: "/modern-desk-lamp.png", badge: "New", badgeVariant: "default", }, { name: "Ergonomic Office Chair", price: "$299.99", image: "/ergonomic-office-chair.png", originalPrice: "$349.99", badge: "Sale", badgeVariant: "destructive", }, { name: "Smart Home Speaker", price: "$129.99", image: "/smart-home-speaker.png", badge: "Popular", badgeVariant: "secondary", }, ].map((product, index) => (
{product.name} {product.badge && (
{product.badge}
)}

{product.name}

{product.price} {product.originalPrice && ( {product.originalPrice} )}
{[1, 2, 3, 4, 5].map((star) => ( ))} (42)
))}
{/* Shopping Cart */} Your Shopping Cart Review and checkout your items
{[ { name: "Modern Desk Lamp", price: "$89.99", quantity: 1, image: "/modern-desk-lamp.png", }, { name: "Smart Home Speaker", price: "$129.99", quantity: 2, image: "/smart-home-speaker.png", }, ].map((item, index) => (
{item.name}

{item.name}

Qty: {item.quantity} {item.price}
))}
Subtotal $349.97
Shipping $9.99
Tax $35.00
Total $394.96
{/* Checkout Form */} Checkout Complete your purchase Payment Shipping Review

Order Summary

Modern Desk Lamp × 1 $89.99
Smart Home Speaker × 2 $259.98
Total $394.96
) }