Home Card

The Card component is used to group related information in a bordered box with optional header, body, and footer sections. It’s useful for dashboards, product previews, and general layout blocks.

Installation

npm
npx phpxui add Card

Usage

use Lib\PHPXUI\ {
  Card,
  CardAction,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle
}

<Card>
  <CardHeader>
    <CardTitle>Card Title</CardTitle>
    <CardDescription>Card Description</CardDescription>
    <CardAction>Card Action</CardAction>
  </CardHeader>
  <CardContent>
    <p>Card Content</p>
  </CardContent>
  <CardFooter>
    <p>Card Footer</p>
  </CardFooter>
</Card>