Sketch icons is a completely open-source icon set with 600+ icons that makes it easy for individuals to utilise icons. The Sketch-icons Web Component is a simple and effective way to incorporate Sketch icons into your app. The component will dynamically load an SVG for each icon, ensuring that your app only requests the icons it requires.
sketch-icons
Installation
Usage
Using CDN
If you want to use the icons in your project, you can use the CDN. Add the following cdn to your HTML file.
Example
To utilize the pre-built icon from the sketch icons bundle, populate the class property on the i tag
Using CSS Selector
You can change the properties of icon using the css selector. The selector is .sk- followed by the icon name.
Properties
Property
Attribute
Default
color
color="color"
#2A2238
height
height={height}
32
width
width={width}
32
stroke
stroke="stroke-color"
#2A2238
strokeWidth
strokeWidth="stroke-width"
1.5
How to Contribute Assets
Note : At this moment, we just ask that you place your icon in the assets folder and not to run build commands.
Create an icon with color #2A2238 and strokeWidth of 1 or 1.5.
Export your icon to svg format.
Place your assets in the assets/simple folder.
Similarly if the icon is colored place it in assets/color folder.