🚀 2026新春限定 比比工房5重豪礼来袭!现金红包+免费插件+高价值抽奖,速进群抢福利!活动详情 →

[Bug提交]登录发帖从 github复制大段 md格式的文本测试
狼门★血影
狼门★血影
发表于2025年12月30日 浏览 183

image

npm

stars

downloads

twitter

MingCute Icon

MingCute is a set of simple and exquisite open-source icon library. Whether you’re a designer or a developer, it’s perfect for use in web and mobile.Every icon is designed within a 24 x 24 grid, giving outline and filled styles, 2px stroke. Support for SVG,PNG and webfont.

Usage

Website

Head on to the website of MingCute. Click the icons, you can adjust the color size, and then download the icons in SVG or PNG format.

Installation

Install npm package:

npm install mingcute_icon --save

Import CSS styles into the project entry file:

// main.js
import 'mingcute_icon/font/Mingcute.css'

Overwrite the initial color of the icon in the global style file:

// index.css
[class^='mgc_']::before,
[class*=' mgc_']::before {
  color: inherit !important;
}

Webfont

Copy the font files from /fonts and import the mingcute.css file. Add icon with class name, class name rule: mgc_{name}_{style}

<span class="mgc_search_line"></span>
<span class="mgc_search_fill"></span>

React

Import icons as standard React components through @mingcute/react package.. All icons accept size and color props.

import { MingcuteFill, Home1Line, SearchLine } from '@mingcute/react';

function App() {
  return (
    <div className="container">
      {/* Default: 24px size and currentColor */}
      <MingcuteFill />

      {/* Custom size and color */}
      <Home1Line size={32} color="#007AFF" />

      {/* Inherits standard SVG props */}
      <SearchLine opacity={0.5} />
    </div>
  );
}

For more details, see the documentation.

Figma Plug

image

MingCute Icons Figma plugin

MGC Design Resources

Preview

image

License

MingCute icon is available under Apache-2.0 License. Feel free to use the set in both personal and commercial projects. Attribution is much appreciated but not required. The only thing we ask is that these icons are not for sale.

小鱼哥
小鱼哥
回复于2025-12-30

回复你

哎呀,回复话题必需登录。 还没账号?请先注册
  • 首页
  • 文件
  • 活动