cpn-basic-icon
OfficialGuide AI to use the UDesign Icon component.
AuthorUCloud-FE
Version1.0.0
Installs0
System Documentation
What problem does it solve?
AI often misuses or fails to attach extra native props when rendering icons. This Skill ensures props like style or className are correctly applied to the Icon component's outer element, preventing styling inconsistencies.
Core Features & Use Cases
- Ensures that non-icon props are passed to the Icon's outer element, enabling consistent styling and behavior.
- Demonstrates how to import and render the Icon from the UDesign component library, and how to adapt to custom prefixes via ConfigProvider.
Quick Start
Import the Icon component from the UDesign library and render it with a type prop to verify correct usage.
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: cpn-basic-icon Download link: https://github.com/UCloud-FE/udesign-cli/archive/main.zip#cpn-basic-icon 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 471,000+ vetted skills library on demand.