React-Bootstrap
Bootstrap 5 components built with React.
Docs
See the documentation with live editable examples and API documentation.
To find the documentation for the latest Bootstrap 4 compatible release, go here and for Bootstrap 3 go here.
Migrating from Bootstrap 3 to Bootstrap 4
If you would like to update React-Bootstrap within an existing project to use Bootstrap 4, please read our docs for migrating to React-Bootstrap V1.
Related modules
- react-router-bootstrap – Integration with React Router
- Awesome React Bootstrap Components - Additional components like off-canvas navbar, switch and sliders.
Local setup
Yarn is our package manager of choice here. Check out setup
instructions here if you don't have it installed already.
After that you can run yarn run bootstrap
to install all the needed dependencies.
From there you can:
- Run the tests once with
yarn test
(Or run them in watch mode withyarn run tdd
). - Start a local copy of the docs site with
yarn start
- Or build a local copy of the library with
yarn run build
CodeSandbox Examples
Click here to explore some React-Bootstrap CodeSandbox examples.
Click here to automatically open CodeSandbox with the React-Bootstrap CodeSandbox Examples GitHub Repository as a workspace.
Contributions
Yes please! See the contributing guidelines for details.