cpn-basic-switch

Official

AI-guided usage of UDesign Switch components.

AuthorUCloud-FE
Version1.0.0
Installs0

System Documentation

What problem does it solve?

本技能帮助 AI 在需要使用 Switch 的场景中正确选择和应用 UDesign Switch 组件,避免错误的实现与不一致的交互。

Core Features & Use Cases

  • 提供正确的 Switch 导入与使用示例,确保与 UDesign 设计规范保持一致
  • 包含常见场景示例(开启/关闭、禁用、不同尺寸、文本自定义等)及演示代码
  • 提供最佳实践与常见问题解答,帮助快速落地实现

Quick Start

Demonstrate a basic Switch usage example compliant with UDesign guidelines.

Dependency Matrix

Required Modules

None required

Components

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: cpn-basic-switch
Download link: https://github.com/UCloud-FE/udesign-cli/archive/main.zip#cpn-basic-switch

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.