Descriptions

Display multiple fields in list form.

Basic usage

User Info
UsernamekooriookamiTelephone18100000000PlaceSuzhou
RemarksAddress No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu Province

Sizes

With border
Username
kooriookami
Telephone
18100000000
Place
Suzhou
Remarks
Address
No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu Province
Without border
UsernamekooriookamiTelephone18100000000PlaceSuzhou
RemarksAddress No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu Province

Vertical List

Vertical list with border
UsernameTelephonePlace
kooriookami18100000000Suzhou
RemarksAddress
No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu Province
Vertical list without border
UsernameTelephonePlace
kooriookami18100000000Suzhou
RemarksAddress
No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu Province

Rowspan 2.8.1

Width horizontal list
Photo
UsernamekooriookamiTelephone18100000000
PlaceSuzhouRemarks
Address No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu Province
Width vertical list
PhotoUsernameTelephone
kooriookami18100000000
PlaceRemarks
Suzhou
Address
No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu Province

Customized Style

Customized style list
Username kooriookami Telephone 18100000000 Place Suzhou
RemarksAddress No.1188, Wuzhong Avenue, Wuzhong District, Suzhou, Jiangsu Province

Descriptions API

Descriptions Attributes

NameDescriptionTypeDefault
borderwith or without borderbooleanfalse
columnnumbers of Descriptions Item in one linenumber3
directiondirection of listenumhorizontal
sizesize of listenum
titletitle text, display on the top leftstring''
extraextra text, display on the top rightstring''
label-width 2.8.8label width of every columnstring / number''

Descriptions Slots

NameDescriptionSubtags
defaultcustomize default contentDescriptions Item
titlecustom title, display on the top left
extracustom extra area, display on the top right

DescriptionsItem API

DescriptionsItem Attributes

NameDescriptionTypeDefault
labellabel textstring''
spancolspan of columnnumber1
rowspan 2.8.1the number of rows a cell should spannumber1
widthcolumn width, the width of the same column in different rows is set by the max value (If no border, width contains label and content)string / number''
min-widthcolumn minimum width, columns with width has a fixed width, while columns with min-width has a width that is distributed in proportion (If noborder, width contains label and content)string / number''
label-width 2.8.8column label width, if not set, it will be the same as the width of the column. Higher priority than the label-width of Descriptionsstring / number''
aligncolumn content alignment (If no border, effective for both label and content)enumleft
label-aligncolumn label alignment, if omitted, the value of the above align attribute will be applied (If no border, please use align attribute)enum''
class-namecolumn content custom class namestring''
label-class-namecolumn label custom class namestring''

DescriptionsItem Slots

NameDescription
defaultcustomize default content
labelcustom label

Source

ComponentStyleDocs

Contributors