Atelier UI

搜索组件…

搜索组件…

Description List

语义化键值详情列表,支持三种布局、复制、徽标与链接。

在沙盒中编辑

复制一段给 AI 编程工具的提示词,包含源码、依赖和用法

属性

DescriptionListProps

同时支持以下类型的全部属性: Omit<React.ComponentProps<"dl">, "children">

属性类型默认值说明
items* 必填DescriptionItem[]——
layout"vertical" | "horizontal" | "grid""vertical"—
emptyTextstring"Not provided"Text shown for empty values

安装

$ npx shadcn@latest add https://chromotion.dev/r/description-list.json

同类组件