ui component composite type / Code Snippet

Code Snippet

展示可复制、可高亮的代码或命令片段

Key fields

Identity

Subtype
复合组件
Parent Taxonomy
Content & Data Display

What

Definition
展示可复制、可高亮的代码或命令片段
Composition & States
触发或标题、主体内容、辅助信息、主要操作、状态反馈、关闭或返回入口(按场景取舍)

Why

Role
展示可复制、可高亮的代码或命令片段

Where

Applicable Context
Web Interface Design

How

Checklist
定义用途;明确结构与状态;覆盖键盘/触摸/读屏;处理加载、错误和空状态;验证响应式与焦点顺序。

Lifecycle

Status
启用