Whether the card is an AI card, which may have different styling or behavior.
This is primarily used for AI-related components.
Whether the card is collapsible.
Slotted content must be provided for the collapsible functionality to work.
Description of the card, displayed in the header.
Whether the card is expanded or collapsed.
If collapsible is true, this property controls the initial state of the card.
Whether the card is required, indicated by a red asterisk (*) in the header.
The title of the card, displayed in the header.
Staticstyles
A card component with a header and optional content that can be collapsible.
Slot
collapsibleis true, this content will be hidden when the card is collapsed.Part
content - The content area of the card where slotted content is rendered.
Part
header - The header area of the card.
Figma
Storybook