JSPM

  • Created
  • Published
  • Downloads 86505
  • Score
    100M100P100Q153461F
  • License MIT

React component for Bootstrap Icons

Package Exports

  • react-bootstrap-icons

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-bootstrap-icons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Boostrap Icons (alpha)

The brand new Boostrap Icons library to use as React components.

Installation

npm install react-bootstrap-icons --save

Usage

import React from 'react';
import { ArrowRight } from 'react-bootstrap-icons';

export default function App() {
  return <ArrowRight />;
}

Icons can be configured with inline props:

<Camera color="royalblue" size={96} />

You can also include the whole icon pack:

import React from 'react';
import * as Icon from 'react-feather';

export default function App() => {
  return <Icon.ArrowRight />
};