easyui.

Discover / Layout

Card

Group related content in a contained surface.

Usage notes

Use the header, content, and footer parts to structure related information.

Examples use @easyui/react and its stylesheet. Read the setup guide.

Example source

import { Card, CardContent, CardDescription, CardHeader, CardTitle, Button } from "@easyui/react";

export default function Example() {
  return (
    <Card>
      <CardHeader>
        <CardTitle>Project settings</CardTitle>
        <CardDescription>Manage your workspace preferences.</CardDescription>
      </CardHeader>
      <CardContent><Button variant="secondary" size="sm">View settings</Button></CardContent>
    </Card>
  );
}

Explore more components