Skip to content

IFRCGo/go-icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 13, 2024
8ac2558 · May 13, 2024

History

63 Commits
Mar 5, 2024
May 13, 2024
May 13, 2024
Jun 30, 2023
Jun 29, 2023
Jun 30, 2023
Jun 29, 2023
Apr 26, 2023
Jun 30, 2023
Jun 29, 2023
May 13, 2024
Jun 30, 2023
Jun 29, 2023
Jun 29, 2023

Repository files navigation

IFRC-GO Icons npm (scoped) Build Release & Publish

React icons for IFRC-GO project.

Installation

yarn add @ifrc-go/icons
#or
npm install @ifrc-go/icons

GitHub Pages

For local development

docker-compose up page-dev

For building the NextJS project

docker-compose up page-build

Usage

Each icon can be imported as a react component.

import { MenuLineIcon } from '@ifrc-go/icons';

function MyComponent() {
  return (
    <div>
      <MenuLineIcon className={{ color: #3b82f6 }} />
    </div>
  )
}

Each icon has its stroke and fill property set to currentColor. The icon style can be set using the color CSS property.

License

This library is MIT licensed.