Skip to content

Descriptions ​

Display multiple fields in list form

Basic usage ​

User Info
UsernameTomTelephone18100000000PlaceHefei
RemarksSchoolAddress High tech District, Hefei, Anhui Province

Sizes ​

With border
Username
Tom Telephone18100000000PlaceHefei
RemarksSchoolAddress High tech District, Hefei, Anhui Province
Without border
Username
Tom
Telephone18100000000PlaceHefei
RemarksSchoolAddress High tech District, Hefei, Anhui Province

Vertical list ​

With border
UsernameTelephonePlace
Tom18100000000Hefei
RemarksAddress
School High tech District, Hefei, Anhui Province
Without border
UsernameTelephonePlace
Tom18100000000Hefei
RemarksAddress
School High tech District, Hefei, Anhui Province

Customized style ​

Customized style list
Username Tom Telephone 18100000000 Place Hefei
Remarks School Address High tech District, Hefei, Anhui Province

Descriptions API ​

Descriptions Attributes ​

NameDescriptionTypeDefault
borderWith or without borderBooleanfalse
columnNumbers of Descriptions Item in one lineNumber3
directionSirection of listStringhorizontal
sizeSize of listStringmedium
titleTitle text, display on the top leftString-
extraExtra text, display on the top rightString-

Descriptions Slots ​

NameDescriptionDefault
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
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 no border, width contains label and content)String Number-
alignColumn content alignment(If no border, effective for both label and content)Stringleft
label-alignColumn label alignment, if omitted, the value of the above align attribute will be applied (If no border, please use align attribute)String-
class-nameColumn content custom class nameString-
label-class-nameColumn label custom class nameString-

DescriptionsItem Slots ​

NameDescriptionDefault
defaultCustomize default content-
labelCustom label-