Atelier UI

搜索组件…

搜索组件…

Icon Label Subtext Button

图标块 + 主标题 + 副文案的复合按钮,适合部署、升级等带说明的操作。

在沙盒中编辑

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

属性

IconLabelSubtextButtonProps

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

属性类型默认值说明
iconReact.ReactNode——
label* 必填string——
subtext* 必填string——

安装

$ npx shadcn@latest add https://chromotion.dev/r/icon-label-subtext-button.json

同类组件