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
;; const App = { return <Star />}; ;
Modify size:
<Star height=96 width=96 />
Pass props:
<Star className="mb-2" />
Include the whole icon library:
;; const App = { return <IconStar />}; ;
Features
- No dependencies, just React
- SVG Icons
- Simple API
- Compatible with Create React App
License
MIT