UNPKG

react-bootstrap

Version:

Bootstrap 4 components built with React

69 lines (49 loc) 3.57 kB
# React-Bootstrap > [Bootstrap 4][bootstrap] components built with [React][react]. [![Travis CI Build status][travis-badge]][travis-link] [![Appveyor Build status][appveyor-badge]][appveyor-link] [![npm][npm-badge]][npm] [![Codecov][codecov-badge]][codecov] [![Discord][discord-badge]][discord] [![Thinkful][thinkful-badge]][thinkful] ## Docs See the [documentation][documentation] with live editable examples and API documention. To find the documentation for the latest Bootstrap 3 compatible release, [go here](https://5c507d49471426000887a6a7--react-bootstrap.netlify.com/). ### 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](https://react-bootstrap.github.io/migrating/)**. ## Related modules - [react-router-bootstrap][react-router-bootstrap] – Integration with [React Router][react-router] - [Awesome React Bootstrap Components][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](https://yarnpkg.com/en/docs/install) 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 with `yarn 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](https://github.com/react-bootstrap/code-sandbox-examples) to explore some React-Bootstrap [CodeSandbox](https://codesandbox.io/) examples. [Click here](https://codesandbox.io/s/github/react-bootstrap/code-sandbox-examples/tree/master/basic) to automatically open [CodeSandbox](https://codesandbox.io/) with the React-Bootstrap [CodeSandbox Examples GitHub Repository](https://github.com/react-bootstrap/code-sandbox-examples) as a workspace. ## Contributions Yes please! See the [contributing guidelines][contributing] for details. [bootstrap]: https://getbootstrap.com/ [react]: https://reactjs.org/ [documentation]: https://react-bootstrap.github.io/ [contributing]: CONTRIBUTING.md [travis-badge]: https://travis-ci.org/react-bootstrap/react-bootstrap.svg?branch=master [travis-link]: https://travis-ci.org/react-bootstrap/react-bootstrap [appveyor-badge]: https://ci.appveyor.com/api/projects/status/ylitpyo6n5yq1s6i?svg=true [appveyor-link]: https://ci.appveyor.com/project/react-bootstrap/react-bootstrap [npm-badge]: https://badge.fury.io/js/react-bootstrap.svg [npm]: http://badge.fury.io/js/react-bootstrap [react-router-bootstrap]: https://github.com/react-bootstrap/react-router-bootstrap [react-router]: https://github.com/reactjs/react-router [react-bootstrap-extended]: https://github.com/rbalicki2/react-bootstrap-extended [awesome-react-bootstrap-components]: https://github.com/Hermanya/awesome-react-bootstrap-components [thinkful-badge]: https://tf-assets-staging.s3.amazonaws.com/badges/thinkful_repo_badge.svg [thinkful]: http://start.thinkful.com/react/?utm_source=github&utm_medium=badge&utm_campaign=react-bootstrap [codecov-badge]: https://img.shields.io/codecov/c/github/react-bootstrap/react-bootstrap/master.svg [codecov]: https://codecov.io/gh/react-bootstrap/react-bootstrap [discord-badge]: https://img.shields.io/badge/Discord-Join%20chat%20%E2%86%92-738bd7.svg [discord]: https://discord.gg/0ZcbPKXt5bXLs9XK