react-bootstrap-icons
Version:
React component for Bootstrap Icons
70 lines (45 loc) • 1.5 kB
Markdown
# React Bootstrap Icons
The brand new [Bootstrap Icons library](https://icons.getbootstrap.com/) to use as React components.
> Currently v1.8.3, over **1600 icons!**
<img src="https://api.framer.com/store/assets/ismael/bootstrap-icons/artwork.png?ODhmNDI">
## Installation
```bash
npm install react-bootstrap-icons --save
```
or
```bash
yarn add react-bootstrap-icons
```
## Usage
```jsx
import React from 'react';
import { ArrowRight } from 'react-bootstrap-icons';
export default function App() {
return <ArrowRight />;
}
```
Icons can be configured with inline props:
```jsx
<ArrowRight color="royalblue" size={96} />
```
You can pass wathever props you want:
```jsx
<ArrowRight className="ml-4" />
```
You can also include the whole icon pack:
```jsx
import React from 'react';
import * as Icon from 'react-bootstrap-icons';
export default function App() => {
return <Icon.ArrowRight />
};
```
## Figma Plugin
You can install it from Figma app: [Bootstrap Icons Plugin for Figma](https://www.figma.com/community/plugin/868341386266170307/Bootstrap-Icons)
## More options
Other ways to use Boostrap icons: [https://icons.getbootstrap.com/#usage](https://icons.getbootstrap.com/#usage)
## License
- react-bootstrap-icons are open sourced ([MIT](https://github.com/ismamz/react-bootstrap-icons/blob/master/LICENSE.md))
- Bootstrap Icons are open sourced ([MIT](https://github.com/twbs/icons/blob/main/LICENSE.md)).
## Collaborators
- [@kwnath](https://github.com/kwnath)