@opuscapita/react-icons

    4.0.14 • Public • Published

    react-icons

    Description

    A collection of SVG icons, check out the Demo for the list of icons.

    Installation

    npm install @opuscapita/react-icons
    

    Demo

    View the DEMO

    Builds

    UMD

    The default build with compiled styles in the .js file. Also minified version available in the lib/umd directory.

    CommonJS/ES Module

    You need to configure your module loader to use cjs or es fields of the package.json to use these module types. Also you need to configure sass loader, since all the styles are in sass format.

    API

    Prop name Type Default Description
    type string required Icon type / category
    name string required Icon name
    width number 40 Icon width
    height number 40 Icon height

    Code example

    import React from 'react';
    import { Icon } from '@opuscapita/react-icons';
     
    export default class IconsView extends React.Component {
      render() {
        return (
          <Icon type="indicator" name="remove" />
        );
      }
    }

    Keywords

    none

    Install

    npm i @opuscapita/react-icons

    DownloadsWeekly Downloads

    243

    Version

    4.0.14

    License

    MIT

    Unpacked Size

    1.38 MB

    Total Files

    193

    Last publish

    Collaborators

    • elaczapiewska
    • jarkko.rouvinen
    • bo-kh
    • pdetmer
    • janek.bug
    • alexeysergeev
    • ilkkalehtinen
    • havantkim
    • eriihine
    • tamkov-sc
    • kwierchris
    • elefantino
    • samikarj
    • dsanko
    • dmitrydivin
    • alexanderdanilov
    • egor.stambakio
    • jenni
    • ocmachineuser
    • lukaszkepa
    • naniantero
    • nkovalenko-sc
    • jluukka
    • zjuice
    • adam-dziomdziora-cybercom
    • kaputse
    • dmitriy.sanko
    • nczeranka
    • ocautomation
    • maciej-wakula-opuscapita