@meetup/swarm-icons

0.7.1 • Public • Published

Swarm Icons

Build process

Pass the family to be built to build.js

There are three icon families in @meetup/swarm-icons

  • solid
  • line
  • large

example of building the line icon set ./src/build.js --f=line

Adding an Icon

Add the .svg file to src/icons Run yarn build

Using Icons

Import whole sets

import * as SolidIcons from '@meetup/swarm-icons/lib/components/solid';
import * as LineIcons from '@meetup/swarm-icons/lib/components/line';
import * as LargeIcons from '@meetup/swarm-icons/lib/components/large';

Or individual Icons

import { ArrowDown } from '@meetup/swarm-icons/lib/components/solid';
import { ArrowDown } from '@meetup/swarm-icons/lib/components/line';
import { ArrowDown } from '@meetup/swarm-icons/lib/components/large';

Readme

Keywords

none

Package Sidebar

Install

npm i @meetup/swarm-icons

Weekly Downloads

1

Version

0.7.1

License

ISC

Unpacked Size

321 kB

Total Files

215

Last publish

Collaborators

  • meetupbot