Docs
πŸ—οΈ ⏐ Components
Layout
Card

Card

Cards are a fundamental building block for compositions, such as forms, or sections.

Examples

Blocks

This component is used in the following Blocks:

Theme

This component uses the following default theme:

  • root{}(5 keys)
      Show all

Learn more about how to customize in the Theme documentation.

API

PropDescriptionDefault
disablePaddingDisable the padding of the card.
boolean
classNameAdditional classname to apply to the card.
string
headerClassNameHeader classname to apply.
string
contentClassNameContent classname to apply.
string
styleAdditional style attributes. Recommend to use css classes over this.
CSSProperties
headerHeader element or text to show.
string | Element | Element[]
themeTheme for the Card.
CardTheme
ref
LegacyRef<HTMLDivElement>