Descriptions

Display multiple fields in list form.

Basic usage

Sizes

Vertical List

Rowspan 2.8.1

Customized Style

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