Descriptions

Display multiple read-only fields in groups.

Descriptions

When to use

Commonly displayed on the details page.


Basic

Simplest Usage.
User Info
UserName
Telephone
Live
Zhou Maomao
1810000000
Hangzhou, Zhejiang
Remark
Address
empty
No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China

Border

Descriptions with border and background color.
User Info
ProductBilling ModeAutomatic Renewal
Cloud DatabasePrepaidYES
Order timeUsage TimeStatus
2018-04-24 18:00:002019-04-24 18:00:00Running
Negotiated AmountDiscountOfficial Receipts
$80.00$20.00$60.00
Config Info
Data disk type: MongoDB
Database version: 3.4
Package: dds.mongo.mid
Storage space: 10 GB
Replication factor: 3
Region: East China 1

Responsive

Responsive configuration enables perfect presentation on small screen devices.
Responsive Descriptions
ProductBillingtime
Cloud DatabasePrepaid18:00:00
AmountDiscountOfficial
$80.00$20.00$60.00
Config Info
Data disk type: MongoDB
Database version: 3.4
Package: dds.mongo.mid
Storage space: 10 GB
Replication factor: 3
Region: East China 1

Horisontal

Simplest Usage.
User Info
UserNameZhou Maomao
Telephone1810000000
LiveHangzhou, Zhejiang
Remarkempty
AddressNo. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China

Horisontal border

Descriptions with border and background color.
User Info
ProductCloud DatabaseBilling ModePrepaid
Automatic RenewalYESOrder time2018-04-24 18:00:00
Usage Time2019-04-24 18:00:00StatusRunning
Negotiated Amount$80.00Discount$20.00
Official Receipts$60.00
Config InfoData disk type: MongoDB
Database version: 3.4
Package: dds.mongo.mid
Storage space: 10 GB
Replication factor: 3
Region: East China 1

API

Descriptions
PropertyDescriptionTypeDefault
title
The title of the description list, placed at the top
ReactNode
-
bordered
Whether to display the border
boolean
false
column
The number of DescriptionItems in a row,could be a number or a object like { xs: 8, sm: 16, md: 24},(Only set bordered={true} to take effect)
number
3
size
Set the size of the list. Can be set to middle,small, or not filled
default | middle | small
-
layout
Define description layout
horizontal | vertical
vertical
colon
Change default props colon value of Descriptions.Item
boolean
true
DescriptionItem
PropertyDescriptionTypeDefault
label
The description of the content
ReactNode
-
span
The number of columns included
number
1