Remix Icon 高质量的免费开源图标库

1,413 阅读2分钟
原文链接: github.com

remixicon

Remix Icon is a set of open source neutral style system symbols for designers and developers. Unlike a patchwork icon library, More than 1200 icons are all elaborately crafted so that they are born with the gene of readability, consistency and perfect pixels. Each icon was designed in "Outlined" and "Filled" styles based on a 24x24 grid. Of course, all the icons are free to use for both personal and commercial.

remixicon

View the full set of Remix Icons at remixicon.com.

Usage

Basic Usage

Just click the icons you want from remixicon.com, and the icons will be downloaded directly in SVG format.

We recommend that designers download icons from our website when needed instead of managing all of them in a local folder. The website's search engine allows you to quickly locate the icon you are looking for and the icons in the website are continuously updating.

Preparing an SVG for use on the web is a simple process and no more complicated that exporting a JPEG or PNG. Such as:

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

Webfont Usage

Installation

Note: If you'd like to use Remix Icon with a CDN, you can skip this installation step.

npm install remixicon --save
import 'remixicon/fonts/remixicon.css'

import CSS to your main.js

CDN

Or copy the following code and add it to the <head> tag of your html document.

<link href="https://remixicon.com/fonts/remixicon.css" rel="stylesheet">

Use

Add icon with class name, class name rule: remixicon-{name}-{style}

<i class="remixicon-admin-line"></i>
<i class="remixicon-admin-fill"></i>

Note: You can go to remixicon.com to check the name of the icons. -line means the outlined style icon, and -fill means the filled style icon.

SVG Sprite Usage

Download remixicon.symbol.svg file into your project directory,use icons with the <use> element, such as:

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

Note: remixicon-admin-fill after the # in the above example can be replaced with any valid icon name of Remix Icon. You can go to remixicon.com to check the name of the icons. -line means the outlined style icon, and -fill means the filled style icon.

Contributing

Note: In order to ensure the quality of each icon, we currently do not accept third-party drawn icons. If you want to contribute an icon to Remix Icon, you can create an issue with a screenshot or add a link to your SVG.

Icon Request

If there is no suitable icon for your usage scenario, you can create an issue with a title of Icon request: and fill the issue template.

License

Remix Icon is licensed under the Apache License Version 2.0. Feel free to use and re-share these icons in you products. We would be very grateful if you mention "Remix Icon" in your product introduction, but it's not required. The only thing we ask is that you can't re-sell these icons.