import * as React from 'react'; import { cn } from '../../shared/utils'; /** * Primary content container surface. * * @description * Groups related content visually by applying background (`bg-card`), * rounded corners, and structured internal padding via sub-components. * * @ai-rules * 1. NEVER create raw divs with `bg-white dark:bg-black rounded border shadow` — use ``. * 2. Compose with the semantic order: `CardHeader > CardTitle + CardDescription > CardContent > CardFooter`. * 3. For inline action buttons in the header, use `` (rendered right-aligned automatically). */ function Card({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function CardHeader({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function CardTitle({ className, ...props }: React.ComponentProps<'div'>) { return

; } function CardDescription({ className, ...props }: React.ComponentProps<'div'>) { return (

); } function CardAction({ className, ...props }: React.ComponentProps<'div'>) { return (

); } function CardContent({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function CardFooter({ className, ...props }: React.ComponentProps<'div'>) { return (
); } export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent };