Card

Card could be used to organize information and operations as an entry for detailed information.

<Card>
  <Card.Header title="Default Card" extra={<span>extra header</span>} />
  <Card.Body>
    <div>This is content of `Default Card`</div>
  </Card.Body>
  <Card.Footer
    content="footer content"
    extra={<div>extra footer content</div>}
  />
</Card>

Example

Basic usage of Card component.

API

Card

PropertiesDescriptionTypeDefault
fullwhether is full widthbooleanfalse

Card.Header

PropertiesDescriptionTypeDefault
titletitle for Card.HeaderReact.Element/String
thumbthumb to render in the left of Card.HeaderReact.Element/String
thumbStylestyle of thumbObject{}
extraextra content to render in the right of Card.HeaderReact.Element/String

Card.Body

PropertiesDescriptionTypeDefault
---

Card.Footer

PropertiesDescriptionTypeDefault
contentcontent of Card.FooterReact.Element/String
extraextra content of Card.FooterReact.Element/String