2.0.0 • Published 1 year ago

@scarlab-icons/icons v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Scarlab Icons

Scarlab Icons is a collection of more than 2800 simply, beautiful and open source icons. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency, and flexibility.

scarlab-icons

npm install @scarlab-icons/icons

Include

import icons from '@scarlab-icons/icons'

Use

const icon = icons.find(({ name }) => name === 'circle')
const svg = template(icon.paths)

function template(paths) {
    return `<svg class="scarlab-icon">${ paths.map(attrs => `<path d="${attrs.d}" opacity="${attrs.opacity}" fill="${attrs.fill}" stroke="${attrs.stroke}" />`).join('') }</svg>`
}

Figma

Scarlab Icons is available as a Figma component library. To use the components, log in to your Figma account and duplicate the file to your drafts.

Or you can use Scarlab Icons as a Figma plugin

License

Scarlab Icons is licensed under the MIT License.