import type { HTMLAttributes, ReactNode } from "react"; interface CardProps extends HTMLAttributes { children: ReactNode; hover?: boolean; padding?: "none" | "sm" | "md" | "lg"; highlighted?: boolean; } const PADDING: Record, string> = { none: "", sm: "p-4", md: "p-5", lg: "p-8", }; /** Standard surface card — the base container used across app + settings + marketing. */ export function Card({ children, hover, padding = "md", highlighted, className, ...rest }: CardProps) { return (
{children}
); } export function CardHeader({ title, subtitle, action }: { title: ReactNode; subtitle?: ReactNode; action?: ReactNode }) { return (

{title}

{subtitle &&

{subtitle}

}
{action &&
{action}
}
); }