An open API service indexing awesome lists of open source software.

https://github.com/alexanderschau/react-bootstrap-icons

Lightweight ⚡ and simple implementation of Bootstrap Icons into React 🤯
https://github.com/alexanderschau/react-bootstrap-icons

bootstrap bootstrap-icons react typescript

Last synced: 3 months ago
JSON representation

Lightweight ⚡ and simple implementation of Bootstrap Icons into React 🤯

Awesome Lists containing this project

README

          

# Bootstrap Icons React Component

![](hero.png)

This package contains a simple React Component, which implements the latest version of [Bootstrap Icons](https://github.com/twbs/icons) into React.

## Install

To add the package to your existing React project just type in one of the following commands:

```
npm i @reacticons/bootstrap-icons
```

or

```
yarn add @reacticons/bootstrap-icons
```

## Usage

```js
import React from 'react';
import Icon from '@reacticons/bootstrap-icons';

export const Component = () => (
<>

>
);
```

## Supported Icons

This package supports all Bootstrap Icons of the matching version. To see a full list of them, you can take a look at the official [Bootstrap Icons website](https://icons.getbootstrap.com/).

## Hint

By the way, the `` Component has the same attributes as a typical `

` element.

## License

MIT

> This package is based on the open source Bootstrap Icons project.