ui component state / Compact
Compact
减少间距以适配高密度工作台的变体。
Key fields
Identity
- Subtype
- 状态或变体
- Parent Taxonomy
- Data Table, Toolbar, Button, Input, Select
What
- Definition
- 减少间距以适配高密度工作台的变体。
- Manifestation
- 压缩垂直节奏并保持层级。
Why
- Implementation Goal
- 不能牺牲键盘焦点、可读性和错误提示空间。
How
- Implementation Guidance
- 默认值明确;状态转换可预测;键盘和触摸路径完整;读屏可感知;高对比和 reduced motion 下仍可用。
Evidence
- Limitations
- 使用语义状态、可见焦点、文本等价和适当的 ARIA 属性表达;不只依赖颜色、动画或声音。
Lifecycle
- Status
- 启用
Related content
Relationships come from the local knowledge graph and include reverse links.