import * as React from "react" import { Check } from "lucide-react" import { cn } from "@/lib/utils" import { Badge } from "@/components/ui/badge" import { Button } from "@/components/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/components/ui/card" export interface PricingCardProps extends React.ComponentProps { plan: string price: string period?: string description?: string features: string[] cta?: string /** Highlights the card with a ring + badge — the "recommended" plan. */ featured?: boolean onSelect?: () => void } /** * PricingCard — pricing tier composed from Card + Badge + Button + check list. */ export function PricingCard({ plan, price, period = "/mo", description, features, cta = "Get started", featured = false, onSelect, className, ...props }: PricingCardProps) { return ( {featured && ( Most popular )} {plan} {price} {period} {description && {description}}
    {features.map((f) => (
  • {f}
  • ))}
) }