Card
Cards contain content and actions about a single subject.
Import
Default Card
Variants
Flat
Outlined
Shadow
Props
Prop | Description | Type | Default |
---|---|---|---|
variant | Variant of the card: "flat", "outlined", "shadow" | string | flat |
className | className for the component | string | |
maxWidth | maxWidth of the card | string | auto |
borderRadius | borderRadius of the card | string | theme.borderRadius.base |
as | You can use a custom element type for this component. | elementType | div |