All Projects → leungwensen → Svg Icon

leungwensen / Svg Icon

Licence: mit
An ultimate SVG icons collection DONE RIGHT, with over 10,000 SVG icons out of the box.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Svg Icon

Coreui Icons
CoreUI Free Icons - Premium designed free icon set with marks in SVG, Webfont and raster formats
Stars: ✭ 1,813 (+108.39%)
Mutual labels:  svg-sprites, svg-icons, icon-font
Font Awesome
The iconic SVG, font, and CSS toolkit
Stars: ✭ 66,937 (+7593.91%)
Mutual labels:  svg-sprites, svg-icons
Svgsprit.es
Public endpoint to generate SVG Sprites
Stars: ✭ 73 (-91.61%)
Mutual labels:  svg-sprites, svg-icons
Awesome Icons
A curated list of awesome Web Font Icons
Stars: ✭ 758 (-12.87%)
Mutual labels:  svg-icons, icon-font
Svgtofont
Read a set of SVG icons and ouput a TTF/EOT/WOFF/WOFF2/SVG font.
Stars: ✭ 149 (-82.87%)
Mutual labels:  svg-icons, icon-font
Webfonts Loader
Make an icon font from SVGs!
Stars: ✭ 153 (-82.41%)
Mutual labels:  svg-icons, icon-font
Feathericon
simply generic vector icon collection - including sketch file, svg files, and font files.
Stars: ✭ 178 (-79.54%)
Mutual labels:  svg-sprites, svg-icons
webpack-svg-sprite-sample
a webpack SVG sprite sample when using Vue and React
Stars: ✭ 19 (-97.82%)
Mutual labels:  svg-icons, svg-sprites
vue-svg-icon-loader
Turn SVG files into VueJS Components
Stars: ✭ 24 (-97.24%)
Mutual labels:  svg-icons, svg-sprites
svgpack
A tool for generating and managing SVG Sprites.
Stars: ✭ 28 (-96.78%)
Mutual labels:  svg-icons, svg-sprites
Icons
The premium icon font for @uiwjs Component Library. https://uiwjs.github.io/icons
Stars: ✭ 99 (-88.62%)
Mutual labels:  svg-icons, icon-font
react-crud-icons
57 SVG icons for CRUD applications, packaged as a React component with light & dark themes and tooltip.
Stars: ✭ 19 (-97.82%)
Mutual labels:  svg-icons, svg-sprites
Phosphor React
A flexible icon family for React
Stars: ✭ 97 (-88.85%)
Mutual labels:  svg-icons, icon-font
Svgeez
A Ruby gem for automatically generating an SVG sprite from a folder of SVG icons.
Stars: ✭ 69 (-92.07%)
Mutual labels:  svg-sprites, svg-icons
Phosphor Icons
A flexible icon family for the web
Stars: ✭ 56 (-93.56%)
Mutual labels:  svg-icons, icon-font
Boxicons
High Quality web friendly icons
Stars: ✭ 1,104 (+26.9%)
Mutual labels:  svg-icons, icon-font
flexicon
SVG icon collection.
Stars: ✭ 23 (-97.36%)
Mutual labels:  svg-icons, svg-sprites
font-gis
Icon font and SVG for use with GIS and spatial analysis tools
Stars: ✭ 121 (-86.09%)
Mutual labels:  svg-icons, svg-sprites
ionicons-sprite
SVG sprite icon set based on Ionicons icons
Stars: ✭ 22 (-97.47%)
Mutual labels:  svg-icons, svg-sprites
Evil Icons
Simple and clean SVG icon pack with the code to support Rails, Sprockets, Node.js, Gulp, Grunt and CDN
Stars: ✭ 4,944 (+468.28%)
Mutual labels:  svg-icons

svg-icon

An ultimate svg icons collection DONE RIGHT, with over 10,000 SVG icons out of the box.

Homepage

Download

You can download as many SVG icons as you need in homepage, or download the whole collection via npm:

npm install svg-icon --save

custom element

files:

dist/
    ├── svg-icon-element.js
    └── svg-icon-element.css

usage:

<svg-icon url="http://leungwensen.github.io/svg-icon/dist/sprite/symbol/logos.svg" type="si-logos-javascript"></svg-icon>

limitation:

use it locally

# clone the project
git clone https://github.com/leungwensen/svg-icon.git
# install dependencies
cd svg-icon
npm i
# startup a local server
gulp

SVG icon collections

name id prefix source supported
ant-design ant- http://ant.design/#/components/icon yes
bootstrap bootstrap- https://github.com/twbs/bootstrap yes
devicons dev- https://github.com/vorillaz/devicons yes
elusive-iconfont elusive- https://github.com/reduxframework/elusive-iconfont yes
entypo entypo- https://github.com/danielbruce/entypo yes
evil-icons evil- https://github.com/outpunk/evil-icons yes
flag-icon flag- https://github.com/lipis/flag-icon-css yes
flat-ui flat- https://github.com/designmodo/Flat-UI yes
font-awesome awesome- https://github.com/FortAwesome/Font-Awesome yes
foundation foundation- https://github.com/zurb/foundation-icon-fonts yes
game-icons game- https://github.com/game-icons/icons yes
geomicons-open geom- https://github.com/jxnblk/geomicons-open yes
icomoon-free icomoon- https://github.com/Keyamoon/IcoMoon-Free yes
ioncons ionic- https://github.com/driftyco/ionicons yes
maki maki- https://github.com/mapbox/maki yes
map-icons map- https://github.com/scottdejonge/map-icons yes
material-design material- https://github.com/google/material-design-icons yes
metro-ui-css metro- https://github.com/olton/Metro-UI-CSS yes
mfglabs-iconset mfglabs- https://github.com/MfgLabs/mfglabs-iconset yes
octicons oct- https://github.com/primer/octicons yes
open-iconic open- https://github.com/iconic/open-iconic yes
payment-font payment- https://github.com/vendocrat/PaymentFont yes
payment-webfont payment-web- https://github.com/orlandotm/payment-webfont yes
semantic-ui (oct-/awesome-) https://github.com/Semantic-Org/Semantic-UI/ yes
simple-icons simple- https://github.com/danleech/simple-icons yes
subway subway- https://github.com/mariuszostrowski/subway yes
typicons typcn- https://github.com/stephenhutchings/typicons.font yes
weather-icons weather- https://github.com/erikflowers/weather-icons yes
windows-icons windows- https://github.com/Templarian/WindowsIcons yes
zero zero- src/zero yes
zocial zocial- https://github.com/smcllns/css-social-buttons yes
logos(svg porn) logos- http://svgporn.com yes

Need more? Please leave an issue or a pull request.

Build your own collection

1. Install svg-icon via npm:

npm install svg-icon -g

2. Define a collection file (JSON format, demo)

3. Build it:

svg-icon build --source $path/to/icons.json --target $path/to/dest --name wow

Now you have a SVG sprite file and a demo page.

$path/to/dest/wow/
    ├── index.html
    └── svg-symbols.svg

Contribute

How did you collect all these SVG icons?

There are basically two kinds of icon collections, ones with SVG source files, and others with only icon fonts.

  • Those with SVG source files: I simply copy the icons to the dest folder, optimise them, trim the pads around every icon, and build an SVG sprite file from them.
  • Those with icon fonts: I need to separate every icon from a combined SVG font file(locating, transforming, etc.), optimise them, trim them, and build an SVG sprite.

So the data flow is like:

Sources(SVG icons/icon fonts) ---separating/copying---> SVG icons ---optimising---> mid products(dist/svg/*) ---trimming---> final products(dist/trimmed-svg/*) ---building---> SVG sprite

Is the contributing toolchain ready for me?

Yes, and no.

The collection of 10,000+ SVG icons is mostly collected by nodejs scripts(check out these folders for details bin/, gulp and lib ). But I still have to write some code when I want to add icons from a new vendor into this project, because of the uncertainty of icon collections.

If you are familiar with nodejs and SVG, and interested in making this collection more useful, please leave a PR. Feel free to contact me if you have any question.

Of course, the quickest way to add your favorite icons here is to leave an issue, and let me do the rest for you ;-).

References

Projects inspired svg-icon

Projects powered svg-icon

  • svgo: transforming and optimizing SVG icons would be impossible without this awesome project.
  • vinyl-fs: gulp and vinyl-fs helped me to process large amount of files without any pain.
  • phantomjs: it is the answer of lots of problems.
  • a lot more

Known issues

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].