Files
Claude-Code-Workflow/docs/zh/components/ui/button.md
catlog22 f389e3e6dd feat: add dynamic pipeline detection for team sessions v5 architecture
Backend:
- Fix readLegacyFiles to handle { name, prefix }[] role format
- Add roles backfill in getEffectiveTeamMeta when meta.json exists
- Ensure pipeline_stages and roles flow correctly to API response

Team Skills:
- Add pipeline metadata initialization to all 16 team skill coordinator roles
- Each skill now reports pipeline_stages and roles to meta.json at session init

Documentation:
- Update command references and component documentation
- Add numerical-analysis-workflow skill spec
- Sync zh/en translations for commands and components
2026-03-04 14:52:07 +08:00

2.4 KiB
Raw Blame History

title, description, sidebar
title description sidebar
Button 按钮 按钮组件用于触发操作或提交表单 auto

Button 按钮

概述

按钮是最常用的交互元素之一,用于触发操作、提交表单或导航到其他页面。

语法演示

:::demo button-variants 展示所有视觉变体的按钮组件 :::

属性

变体说明

Default默认

默认按钮用于主要的操作场景。

Destructive破坏性

破坏性按钮用于删除、移除等不可逆的操作。

Outline轮廓

轮廓按钮用于次要操作,视觉上更轻量。

Secondary次要

次要按钮用于辅助操作。

Ghost幽灵

幽灵按钮没有边框,视觉上最轻量。

Link链接

链接按钮看起来像链接,但具有按钮的交互行为。

Gradient渐变

渐变按钮使用品牌渐变色,悬停时带有发光效果。

Gradient Primary主色渐变

主色渐变按钮使用主题主色渐变,悬停时带有增强的发光效果。

使用场景

场景 推荐变体
主要操作(提交、保存) default, gradientPrimary
危险操作(删除、移除) destructive
次要操作 outline, secondary
取消操作 ghost, outline
导航链接 link
促销/特色 CTA gradient

相关组件