wok-ui-icon

Community

Effortless SVG icons with local and remote.

AuthorPeakTai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Managing SVG icons in a UI library can be verbose and inconsistent. This skill introduces a unified approach to using wok-ui's SvgIcon for local icons and RemoteSvgIcon for on-demand remote icons, ensuring consistent sizing and coloring across the app.

Core Features & Use Cases

  • Local icons with SvgIcon: define custom icons by extending SvgIcon and embedding SVG code.
  • Remote icons with RemoteSvgIcon: load icons on demand and cache in memory for performance.
  • API consistency: setSize, setColor, and onClick for uniform interaction and theming.

Quick Start

Create a custom Icon by extending SvgIcon or RemoteSvgIcon and mount it in your UI.

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: wok-ui-icon
Download link: https://github.com/PeakTai/wok-ui/archive/main.zip#wok-ui-icon

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 510,000+ vetted skills library on demand.