New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-remixicon

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-remixicon

React component for Remix Icon

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
71
-26.04%
Maintainers
1
Weekly downloads
 
Created
Source

react-remixicons

code style: prettier Build Status

Description

Remix Icons as React Component

Installation

  • Add the library as a dependency from NPM:
    # yarn
    yarn add react-remixicon

    # npm
    npm install react-remixicon
  • Add a link to the font files in your project's HTML files:
    <link href="https://cdn.remixicon.com/releases/v1.3.1/remixicon.css" rel="stylesheet">

Demo

View the DEMO

API

Prop nameTypeDefaultDescription
namestringrequiredIcon name
typestringfillIcon type
sizestring1xIcon size
rolestringpresentationIcon role
styleObject{}Icon style
refReact.refnullIcon node

Code example

import React from 'react';
import  Icon  from 'react-remixicon';

export default class App extends React.Component {
  render() {
    return (
      <Icon name="home-3" type="line" size="3x" />
    );
  }
}

Keywords

react

FAQs

Package last updated on 13 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts