1.0.0 • Published 4 years ago
bootstrap-icons-react v1.0.0
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
import React from 'react';
import { Star } from 'bootstrap-icons-react';
const App = () => {
return <Star />
};
export default App;
Modify size:
<Star height={96} width={96} />
Pass props:
<Star className="mb-2" />
Include the whole icon library:
import React from 'react';
import * as Icon from 'bootstrap-icons-react';
const App = () => {
return <Icon.Star />
};
export default App;
Features
- No dependencies, just React
- SVG Icons
- Simple API
- Compatible with Create React App
License
MIT
1.0.0
4 years ago
1.0.0-alpha5
4 years ago
1.0.0-alpha4
4 years ago
1.0.0-alpha3
4 years ago
1.0.0-alpha2
4 years ago
1.0.0-alpha
4 years ago