UNPKG

3.57 kBMarkdownView Raw
1# React-Bootstrap
2
3> [Bootstrap 4][bootstrap] components built with [React][react].
4
5[![Travis CI Build status][travis-badge]][travis-link]
6[![Appveyor Build status][appveyor-badge]][appveyor-link]
7[![npm][npm-badge]][npm]
8[![Codecov][codecov-badge]][codecov]
9[![Discord][discord-badge]][discord]
10[![Thinkful][thinkful-badge]][thinkful]
11
12## Docs
13
14See the [documentation][documentation] with live editable examples and API documention.
15
16To find the documentation for the latest Bootstrap 3 compatible release, [go here](https://5c507d49471426000887a6a7--react-bootstrap.netlify.com/).
17
18### Migrating from Bootstrap 3 to Bootstrap 4
19
20If 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/)**.
21
22## Related modules
23
24- [react-router-bootstrap][react-router-bootstrap] – Integration with [React Router][react-router]
25- [Awesome React Bootstrap Components][awesome-react-bootstrap-components] - Additional components like off-canvas navbar, switch and sliders.
26
27## Local setup
28
29Yarn is our package manager of choice here. Check out setup
30instructions [here](https://yarnpkg.com/en/docs/install) if you don't have it installed already.
31After that you can run `yarn run bootstrap` to install all the needed dependencies.
32
33From there you can:
34
35- Run the tests once with `yarn test` (Or run them in watch mode with `yarn run tdd`).
36- Start a local copy of the docs site with `yarn start`
37- Or build a local copy of the library with `yarn run build`
38
39## CodeSandbox Examples
40
41[Click here](https://github.com/react-bootstrap/code-sandbox-examples) to explore some React-Bootstrap [CodeSandbox](https://codesandbox.io/) examples.
42
43[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.
44
45## Contributions
46
47Yes please! See the [contributing guidelines][contributing] for details.
48
49[bootstrap]: https://getbootstrap.com/
50[react]: https://reactjs.org/
51[documentation]: https://react-bootstrap.github.io/
52[contributing]: CONTRIBUTING.md
53[travis-badge]: https://travis-ci.org/react-bootstrap/react-bootstrap.svg?branch=master
54[travis-link]: https://travis-ci.org/react-bootstrap/react-bootstrap
55[appveyor-badge]: https://ci.appveyor.com/api/projects/status/ylitpyo6n5yq1s6i?svg=true
56[appveyor-link]: https://ci.appveyor.com/project/react-bootstrap/react-bootstrap
57[npm-badge]: https://badge.fury.io/js/react-bootstrap.svg
58[npm]: http://badge.fury.io/js/react-bootstrap
59[react-router-bootstrap]: https://github.com/react-bootstrap/react-router-bootstrap
60[react-router]: https://github.com/reactjs/react-router
61[react-bootstrap-extended]: https://github.com/rbalicki2/react-bootstrap-extended
62[awesome-react-bootstrap-components]: https://github.com/Hermanya/awesome-react-bootstrap-components
63[thinkful-badge]: https://tf-assets-staging.s3.amazonaws.com/badges/thinkful_repo_badge.svg
64[thinkful]: http://start.thinkful.com/react/?utm_source=github&utm_medium=badge&utm_campaign=react-bootstrap
65[codecov-badge]: https://img.shields.io/codecov/c/github/react-bootstrap/react-bootstrap/master.svg
66[codecov]: https://codecov.io/gh/react-bootstrap/react-bootstrap
67[discord-badge]: https://img.shields.io/badge/Discord-Join%20chat%20%E2%86%92-738bd7.svg
68[discord]: https://discord.gg/0ZcbPKXt5bXLs9XK