Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Bootstrap Icons for React
https://github.com/paullaros/bootstrap-icons-react

bootstrap icons react svg

Last synced: 14 days ago
JSON representation

Bootstrap Icons for React

Awesome Lists containing this project

README

        



Bootstrap logo

Bootstrap Icons for React


Bootstrap Icons React components using SVG and JS


Explore Bootstrap Icons »

## Installation

Bootstrap Icons are designed to work with Bootstrap components, from form controls to navigation. Bootstrap Icons are SVGs, so they scale quickly and easily and can be styled with CSS. While they're built for Bootstrap, they'll work in any project.

```
npm i bootstrap-icons-react --save
```

## Usage

```javascript
import React from 'react';
import { Star } from 'bootstrap-icons-react';

const App = () => {
return
};

export default App;
```

Modify size:
```javascript

```

Pass props:
```javascript

```

Include the whole icon library:
```javascript
import React from 'react';
import * as Icon from 'bootstrap-icons-react';

const App = () => {
return
};

export default App;
```

## Features

- No dependencies, just React
- SVG Icons
- Simple API
- Compatible with Create React App

## License

MIT