Skip to content

KDescriptions

Display multiple fields in list form.

Install

bash
pnpm add @ikun-ui/descriptions @ikun-ui/descriptions-item
bash
yarn add @ikun-ui/descriptions @ikun-ui/descriptions-item
bash
npm install @ikun-ui/descriptions @ikun-ui/descriptions-item

Basic usage

Sizes

Vertical

Descriptions Props

NameTypeDefaultDescription
titlestring''title text, display on the top left
extrastring''extra text, display on the top right
borderbooleanfalsewith or without border
columnnumber3numbers of Descriptions Item in one line
directionhorizontal / verticalhorizontaldirection of descriptions
sizesm / md / lgmdsize of descriptions
clsstring''Additional class for component
attrsRecord<string, string>{}Additional attributes

Descriptions Slots

NameDescription
titleCustomize title content
extraCustomize extra content
defaultCustomize default content

DescriptionsItem Props

NameTypeDefaultDescription
labelstring''label text
clsstring''Additional class for component
attrsRecord<string, string>{}Additional attributes

DescriptionsItem Slots

NameDescription
labelCustomize label content
defaultCustomize default content

MIT Licensed