mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 19:49:59 +08:00
25 lines
620 B
Markdown
25 lines
620 B
Markdown
---
|
|
category: Components
|
|
type: Presentation
|
|
title: Card
|
|
---
|
|
|
|
Common card container.
|
|
|
|
## When to use
|
|
|
|
The most basic card container. You can use it to contain text, lists, pictures and paragraphs.
|
|
|
|
## API
|
|
|
|
```html
|
|
<Card title="Card title">Card content</Card>
|
|
```
|
|
|
|
| Property | Description | Type | Default |
|
|
|----------|----------------|----------|--------------|
|
|
| title | Card title | React.Element | - |
|
|
| extra | Corner content of card | React.Element | - |
|
|
| bordered | Whether a border is set | Boolean | true |
|
|
| bodyStyle | Custom style for content area | Object | - |
|