Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/paullaros/bootstrap-icons-react
- Owner: paullaros
- License: mit
- Created: 2019-11-28T12:36:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:41:34.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T17:53:01.048Z (about 1 month ago)
- Topics: bootstrap, icons, react, svg
- Language: JavaScript
- Homepage:
- Size: 601 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
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