20261008173212
This commit is contained in:
1 parent
ac65b75c73
commit
f572dce2f6
48 files changed
+1698
-507
No files matched your search
@@ -0,0 +1,2 @@
|
||||
title: 通用组件
|
||||
icon: i-lucide-boxes
|
||||
@@ -0,0 +1,42 @@
|
||||
---
|
||||
title: Button 按钮
|
||||
description: 常用的操作按钮,支持多种视觉类型与状态
|
||||
---
|
||||
|
||||
# Button 按钮
|
||||
|
||||
常用的操作按钮,支持 7 种视觉类型、3 种尺寸与加载、禁用等状态。
|
||||
|
||||
## 基础用法
|
||||
|
||||
::demo{name="button/basic"}
|
||||
::
|
||||
|
||||
## 视觉类型
|
||||
|
||||
语义化类型用于表达操作的风险等级。
|
||||
|
||||
::demo{name="button/type"}
|
||||
::
|
||||
|
||||
## 尺寸
|
||||
|
||||
::demo{name="button/size"}
|
||||
::
|
||||
|
||||
## 状态
|
||||
|
||||
::demo{name="button/state"}
|
||||
::
|
||||
|
||||
## 图标与撑满
|
||||
|
||||
::demo{name="button/icon"}
|
||||
::
|
||||
|
||||
::demo{name="button/block"}
|
||||
::
|
||||
|
||||
## API
|
||||
|
||||
<ApiTable name="button" />
|
||||
Reference in new issue
Block a user