import { Card } from "@wfp/react"; () => { return <Card />; };
string
A custom class name string to be appended to the default class list of the Card component, allowing for additional styling through CSS.
ReactNode
The content to be displayed within the Card component. This can include text, images, or other React components, effectively making Card a container.
Card
"elevated" |"outlined" |"regular"
Determines the visual style of the Card.
elevated
outlined
regular
boolean
If true, the Card will have focus styling to indicate it is the current focus target of user interaction. Primarily used for accessibility and improved user experience.
true
If true, the Card will be rendered in a disabled state, typically affecting interactivity and potentially visual appearance to indicate that user actions are not currently available.
CSSProperties
Inline CSS styles to apply directly to the card component. Useful for applying specific styles without the need to define additional CSS classes.