Remix Icon 标志

Remix Icon

社区
einverne
remix-icon

RemixIcon 实现指南。RemixIcon 是一个采用中性风格的开源图标库,包含 3,100 多个线框和实心图标。添加应用图标、构建 UI 组件或设计界面时可使用。支持 Web 字体、SVG、React、Vue 和直接集成。

Add to TypingMind

概览

发布者einverne
代码仓库dotfiles
技能名称remix-icon
星标数
121
复刻数
24
附带文件
仅含指令
许可协议GPL-3.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 einverne 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Remix Icon AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/einverne/dotfiles/tree/master/claude/skills/remix-icon
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/einverne/dotfiles.git /tmp/dotfiles
mkdir -p .claude/skills
cp -r /tmp/dotfiles/claude/skills/remix-icon .claude/skills/remix-icon
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Remix Icon,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Remix Icon。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Remix Icon 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

RemixIcon Implementation Guide

RemixIcon is a comprehensive icon library with 3,100+ meticulously designed icons available in both outlined (-line) and filled (-fill) styles. All icons are built on a 24x24 pixel grid for perfect alignment and consistency.

When to Use This Skill

Use RemixIcon when:

  • Adding icons to web applications, mobile apps, or design systems
  • Building UI components that need consistent iconography
  • Implementing navigation, buttons, status indicators, or media controls
  • Creating presentations, documents, or design mockups
  • Need bilingual icon search (English + Chinese)
  • Require both outlined and filled icon variants

Quick Start

Installation

NPM (recommended for web projects):

bash
npm install remixicon
# or
yarn add remixicon
# or
pnpm install remixicon

CDN (no installation):

html
<link
    href="https://cdn.jsdelivr.net/npm/remixicon@4.7.0/fonts/remixicon.css"
    rel="stylesheet"
/>

React:

bash
npm install @remixicon/react

Vue 3:

bash
npm install @remixicon/vue

Icon Naming Convention

Pattern: ri-{icon-name}-{style}

Where:

  • icon-name: Descriptive name in kebab-case (e.g., arrow-right, home, user-add)
  • style: Either line (outlined) or fill (filled)

Examples:

ri-home-line           # Home icon, outlined
ri-home-fill           # Home icon, filled
ri-arrow-right-line    # Right arrow, outlined
ri-search-line         # Search icon, outlined
ri-heart-fill          # Heart icon, filled

Usage Patterns

1. Webfont (HTML/CSS)

Basic usage:

html
<i class="ri-admin-line"></i>
<i class="ri-home-fill"></i>

With sizing classes:

html
<i class="ri-home-line ri-2x"></i>      <!-- 2em size -->
<i class="ri-search-line ri-lg"></i>    <!-- 1.3333em -->
<i class="ri-heart-fill ri-xl"></i>     <!-- 1.5em -->

Available size classes:

  • ri-xxs (0.5em)
  • ri-xs (0.75em)
  • ri-sm (0.875em)
  • ri-1x (1em)
  • ri-lg (1.3333em)
  • ri-xl (1.5em)
  • ri-2x through ri-10x (2em - 10em)
  • ri-fw (fixed width for alignment)

2. Direct SVG

Download and use:

html
<img height="32" width="32" src="path/to/admin-fill.svg" />

Inline SVG:

html
<svg viewBox="0 0 24 24" fill="currentColor">
  <path d="...icon path data..."/>
</svg>

3. SVG Sprite

html
<svg class="remix-icon">
    <use xlink:href="path/to/remixicon.symbol.svg#ri-admin-fill"></use>
</svg>
css
.remix-icon {
    width: 24px;
    height: 24px;
    fill: #333;
}

4. React Integration

jsx
import { RiHeartFill, RiHomeLine, RiSearchLine } from "@remixicon/react";

function MyComponent() {
    return (
        <>
            <RiHeartFill
                size={36}              // Custom size
                color="red"            // Fill color
                className="my-icon"    // Custom class
            />
            <RiHomeLine size={24} />
            <RiSearchLine size="1.5em" color="#666" />
        </>
    );
}

5. Vue 3 Integration

vue
<script setup lang="ts">
import { RiHeartFill, RiHomeLine } from "@remixicon/vue";
</script>

<template>
    <RiHeartFill size="36px" color="red" className="my-icon" />
    <RiHomeLine size="24px" />
</template>

Icon Categories

Icons are organized into 20 semantic categories:

CategoryExamplesUse Cases
Arrowsarrow-left, arrow-up, corner-up-leftNavigation, directions, flows
Buildingshome, bank, hospital, storeLocations, facilities
Businessbriefcase, archive, pie-chartCommerce, analytics
Communicationchat, phone, mail, messageMessaging, contact
Designbrush, palette, magic, cropCreative tools
Developmentcode, terminal, bug, git-branchDeveloper tools
Devicephone, laptop, tablet, printerHardware, electronics
Documentfile, folder, article, draftFiles, content
Editorbold, italic, link, listText formatting
Financemoney, wallet, bank-card, coinPayments, transactions
Foodrestaurant, cake, cup, knifeDining, beverages
Health & Medicalhealth, heart-pulse, capsuleHealthcare, wellness
Logosgithub, twitter, facebookBrand icons
Mapmap, pin, compass, navigationLocation, directions
Mediaplay, pause, volume, cameraMultimedia controls
Systemsettings, download, delete, addUI controls, actions
User & Facesuser, account, team, contactsProfiles, people
Weathersun, cloud, rain, moonClimate, forecast
Othersmiscellaneous iconsGeneral purpose

Finding Icons

1. Browse by Category

Visit https://remixicon.com and navigate categories to visually browse icons.

2. Search with Keywords

Use English or Chinese keywords. Icons have comprehensive tags for discoverability.

Example searches:

  • "home" → home, home-2, home-3, home-gear, home-wifi
  • "arrow" → arrow-left, arrow-right, arrow-up, arrow-down
  • "user" → user, user-add, user-follow, account-circle

3. Consider Icon Variants

Many icons have numbered variants (home, home-2, home-3) offering stylistic alternatives.

Best Practices

Choosing Styles

Line (Outlined) Style:

  • Use for: Clean, minimal interfaces
  • Best with: Light backgrounds, high contrast needs
  • Examples: Navigation menus, toolbars, forms

Fill (Filled) Style:

  • Use for: Emphasis, active states, primary actions
  • Best with: Buttons, selected items, important indicators
  • Examples: Active nav items, primary CTAs, notifications

Accessibility

Always provide aria-labels for icon-only elements:

html
<button aria-label="Search">
    <i class="ri-search-line"></i>
</button>

For decorative icons, use aria-hidden:

html
<span aria-hidden="true">
    <i class="ri-star-fill"></i>
</span>

Performance

For web applications:

  • Use webfonts (WOFF2: 179KB) for multiple icons
  • Use individual SVGs for 1-5 icons only
  • Use SVG sprites for 5-20 icons
  • Prefer CDN for faster global delivery

Font formats by size (smallest to largest):

  1. WOFF2: 179KB (recommended)
  2. WOFF: 245KB
  3. TTF: 579KB
  4. EOT: 579KB (legacy IE support)

Color and Sizing

Use currentColor for flexibility:

css
.icon {
    color: #333;  /* Icon inherits this color */
}

Maintain 24x24 grid alignment:

css
/* Good - maintains grid */
.icon { font-size: 24px; }
.icon { font-size: 48px; }  /* 24 * 2 */

/* Avoid - breaks grid alignment */
.icon { font-size: 20px; }
.icon { font-size: 30px; }

Framework Integration

Next.js:

jsx
import '@/styles/remixicon.css';  // In _app.js or layout
import { RiHomeLine } from "@remixicon/react";

Tailwind CSS:

html
<i class="ri-home-line text-2xl text-blue-500"></i>

CSS Modules:

jsx
import styles from './component.module.css';
import 'remixicon/fonts/remixicon.css';

<i className={`ri-home-line ${styles.icon}`}></i>

Advanced Usage

Custom Icon Sizing with CSS

css
.custom-icon {
    font-size: 32px;
    line-height: 1;
    vertical-align: middle;
}

/* Responsive sizing */
@media (max-width: 768px) {
    .custom-icon {
        font-size: 24px;
    }
}

Icon Animations

css
.spinning-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

Dynamic Icons in React

jsx
function IconButton({ iconName, filled = false }) {
    const iconClass = `ri-${iconName}-${filled ? 'fill' : 'line'}`;
    return <i className={iconClass} />;
}

// Usage
<IconButton iconName="home" />
<IconButton iconName="heart" filled />

Design Tool Integration

Figma Plugin

Install the official RemixIcon plugin for Figma:

Copy to Design Tools

Icons can be directly copied from https://remixicon.com to:

  • Sketch
  • Figma (without plugin)
  • Adobe XD
  • Adobe Illustrator

PowerPoint & Keynote

Use RemixIcon-Slides for direct integration:

Common Patterns

Navigation Menu

html
<nav>
    <a href="/home">
        <i class="ri-home-line"></i>
        <span>Home</span>
    </a>
    <a href="/search">
        <i class="ri-search-line"></i>
        <span>Search</span>
    </a>
    <a href="/profile">
        <i class="ri-user-line"></i>
        <span>Profile</span>
    </a>
</nav>

Button with Icon

html
<button class="btn-primary">
    <i class="ri-download-line"></i>
    Download
</button>

Status Indicators

jsx
// React example
function StatusIcon({ status }) {
    const icons = {
        success: <RiCheckboxCircleFill color="green" />,
        error: <RiErrorWarningFill color="red" />,
        warning: <RiAlertFill color="orange" />,
        info: <RiInformationFill color="blue" />
    };
    return icons[status];
}

Input with Icon

html
<div class="input-group">
    <i class="ri-search-line"></i>
    <input type="text" placeholder="Search..." />
</div>

Troubleshooting

Icons not displaying

Check:

  1. CSS file is loaded: <link href="remixicon.css" rel="stylesheet" />
  2. Class name syntax: ri-{name}-{style} (e.g., ri-home-line)
  3. Font files are accessible (check browser Network tab)
  4. No font-family override conflicting with .ri-* classes

Wrong icon size

Solutions:

  • Use size classes: ri-lg, ri-2x, etc.
  • Set parent font-size property
  • Ensure line-height: 1 for proper alignment
  • Use vertical-align: middle if needed

Icons look blurry

Causes:

  • Non-integer font sizes breaking pixel grid
  • Browser zoom levels
  • Transform properties causing subpixel rendering

Fix: Use multiples of 24px (24, 48, 72, 96) for crisp rendering

Resources

Support

Version History

  • v4.7.0 (Latest): 3,100+ icons with React and Vue packages
  • Full changelog available on GitHub releases

常见问题

Remix Icon AI 技能有什么作用?

RemixIcon 实现指南。RemixIcon 是一个采用中性风格的开源图标库,包含 3,100 多个线框和实心图标。添加应用图标、构建 UI 组件或设计界面时可使用。支持 Web 字体、SVG、React、Vue 和直接集成。

为什么在 TypingMind 中使用 Remix Icon?

因为您只需安装一次,就能搭配任何模型使用。Remix Icon 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Remix Icon?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/einverne/dotfiles/tree/master/claude/skills/remix-icon。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Remix Icon?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Remix Icon 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Remix Icon 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Remix Icon AI 技能免费吗?

是的。einverne 已在 GitHub 上根据 GPL-3.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇