Overview
The Card component provides a container for displaying content with consistent styling, hover effects, and disabled states.Basic Usage
- Code
- Preview
Disabled State
- Code
- Preview
Full Width
- Code
- Preview
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
A flexible card component for displaying content in containers
import { Card } from '@peppermint-design/devreadykit-custom';
export default function CardBasic() {
return (
<Card>
<h3>Card Title</h3>
<p>Card content goes here</p>
</Card>
);
}
import { Card } from '@peppermint-design/devreadykit-custom';
<Card disabled>
<p>This card is disabled</p>
</Card>
import { Card } from '@peppermint-design/devreadykit-custom';
<Card fullWidth>
<p>Card without padding</p>
</Card>