Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计通过

iconsicons 搜索

Agent Skill

icons 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

33,093

周安装

1,407

GitHub Stars

2

下载量

11,594
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:icons(icons 搜索)
来源仓库:https://github.com/ivangdavila/icons
安装命令:
openclaw skills install icons
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install icons

简介

实现具有适当大小、颜色继承和性能的可访问图标。

  • 适用于 OpenClaw 中需要 UI 组件优化的场景。
  • 可快速获取符合无障碍标准的图标解决方案。icons 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 使用前应核对来源仓库和 README,确认兼容性。
  • 注意权限范围和维护状态,避免误用或性能下降。

SKILL.md

name
Icons
description
Implement accessible icons with proper sizing, color inheritance, and performance.
metadata
{"clawdbot":{"emoji":"🔣","requires":{},"os":["linux","darwin","win32"]}}

SVG vs Icon Fonts

SVG is the modern standard:

  • Better accessibility (native ARIA support)
  • No flash of invisible/wrong icon (FOIT)
  • Multicolor support
  • Smaller bundles with tree-shaking

Only consider icon fonts for legacy IE11 support.

Accessibility Patterns

Decorative icons (next to visible text):

<button>
  <svg aria-hidden="true" focusable="false">...</svg>
  Save
</button>

Informative icons (standalone, no label):

<button aria-label="Save document">
  <svg aria-hidden="true" focusable="false">...</svg>
</button>

<!-- Or with visually hidden text -->
<button>
  <svg aria-hidden="true">...</svg>
  <span class="sr-only">Save document</span>
</button>

SVG with accessible name:

<svg role="img" aria-labelledby="icon-title">
  <title id="icon-title">Warning: system error</title>
  <!-- paths -->
</svg>

Key rules:

  • aria-hidden="true" on SVGs that duplicate visible text
  • focusable="false" prevents unwanted tab stops in IE/Edge
  • <title> must be first child inside <svg> for screen reader support
  • IDs must be unique if multiple SVGs are inline

Color Inheritance

<svg fill="currentColor">
  <path d="..."/>
</svg>

currentColor inherits from CSS color property. The icon changes color with hover states automatically:

.button { color: blue; }
.button:hover { color: red; } /* icon turns red too */

Remove hardcoded fill="#000" from SVGs before using currentColor.

For stroke-based icons, use stroke="currentColor" instead.

Sizing

Standard grid sizes: 16, 20, 24, 32px

Match stroke weight to size:

SizeStrokeUse case
16px1pxDense layouts, small text
20px1.25pxDefault UI
24px1.5pxButtons, primary actions
32px2pxHeaders, navigation

Touch targets need 44x44px minimum—icon can be smaller if tappable area is larger via padding.

.icon-button {
  width: 24px;
  height: 24px;
  padding: 10px; /* Creates 44x44 touch target */
}

Scaling with Text

.icon {
  width: 1em;
  height: 1em;
}

Icon scales with surrounding text size automatically.

Symbol Sprites

For many repeated icons, reduce DOM nodes with sprites:

<!-- Define once, hidden -->
<svg style="display:none">
  <symbol id="icon-search" viewBox="0 0 24 24">
    <path d="..."/>
  </symbol>
  <symbol id="icon-menu" viewBox="0 0 24 24">
    <path d="..."/>
  </symbol>
</svg>

<!-- Use anywhere -->
<svg aria-hidden="true"><use href="#icon-search"/></svg>

External sprites (<use href="/icons.svg#search"/>) don't work in older Safari without polyfill.

Performance

Benchmark (1000 icons):

  • <img> with data URI: 67ms (fastest)
  • Inline SVG optimized: 75ms
  • Symbol sprite: 99ms
  • <img> external: 76ms

Recommendations:

  • Tree-shake icon libraries (Lucide, Heroicons support this)
  • Don't import entire Font Awesome (1MB+)—use subset or switch to SVG
  • Inline critical icons, lazy-load sprite for non-critical

Consistency

  • Stick to one icon set—mixing styles looks unprofessional
  • Match icon stroke weight to your font weight (regular text = 1.5px stroke)
  • Pick one style per context: outlined for inactive, filled for active
  • Optical alignment differs from mathematical—circles reach edges, squares don't
  • Name icons by appearance, not meaning: stopwatch not speed

Common Mistakes

  • Missing aria-hidden on decorative icons—screen readers announce gibberish
  • Mixing rounded and sharp icon styles in same interface
  • Giant icon libraries for 10 icons—massive bundle bloat
  • Icon-only buttons without accessible name—impossible to use with screen readers
  • Hardcoded colors preventing theme switching
  • Stroke width not scaling with icon size—16px icon with 2px stroke looks heavy

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.59%
按下载量换算9,923

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills