wok-ui-text
Community简化 wok-ui 文本展示,快速实现统一排版
AuthorPeakTai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
wok-ui 的 Text 基础文本类与预设文本类型提供一致的排版和风格,降低文本呈现的心智负担。
Core Features & Use Cases
- PrimaryBodyText: 主要正文,默认字号
- SecondaryBodyText: 次要正文,灰色
- SmallSecondaryBodyText: 小号次要正文
- Text: 基本文本类,支持自定义标签、文本、颜色、字号、粗体等
- 链式方法: setText、setColor、setSize、setBold、onClick 等,便于快速组合与样式调整
- 使用场景:在页面中快速实现一致的文本风格、多态文本展示和可自定义的文本组件
Quick Start
通过示例创建 Text 与预设文本类型,并使用链式方法调整样式以实现页面文本展示。
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wok-ui-text Download link: https://github.com/PeakTai/wok-ui/archive/main.zip#wok-ui-text Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.