# Card ## Examples ### Default ```html

Card Title

Active

This is the card body content. You can place any content here.

Action
``` ### MinimalWithBodyOnly ```html

This card only has body content, no header or footer.

The header and footer sections are automatically hidden when empty.

``` ### WithDescriptionList ```html

Contact Information

Verified
Name
John Doe
Email
john.doe@example.com
Phone
+1 (234) 567-890
Edit Contact
``` ### WithComplexFooter ```html

Manager Reference

Email not delivered
Name
Jane Smith
Email
jane.smith@example.com
Phone
+1 (234) 567-891

The e-mail invitation failed to deliver. Check if the reference's e-mail address is correct or invite a new reference.

Invite new reference Edit reference
``` ## Usage **Use Card to:** - Display related information in a structured, scannable format. - Present content with a clear hierarchy (header, body, footer). - Show status or metadata in the header alongside the title. - Provide actions related to the card content in the footer. - Create consistent layouts for lists of similar items (e.g., references, contacts, tasks). - Ensure accessibility with proper ARIA roles and semantic structure. **Do not use Card to:** - Create complex nested layouts that should be handled by specialized components. - Apply arbitrary styling that deviates from the design system's card patterns. ## Slots The Card component provides four slots for flexible content organization: - **header**: Main header content, typically a heading element (h2, h3, etc.) - **header-end**: Secondary header content, typically status badges or tags - **default**: Main body content (unnamed slot) - **footer**: Footer content, typically actions or additional information ## Accessibility - The Card has a default ARIA role of "article" which can be customized via the `role` attribute. - Use appropriate heading levels (h2, h3, etc.) in the header slot to maintain document outline. - Ensure status tags in the header-end slot have proper ARIA labels when status is critical information. - When cards are used in lists, consider using proper list markup (`