
React Bootstrap
React-Bootstrap replaces the Bootstrap JavaScript. Each component has been built from scratch as a true React component, without unneeded dependencies like jQuery.
Introduction | React Bootstrap
The best way to consume React-Bootstrap is via the npm package which you can install with npm (or yarn if you prefer). If you plan on customizing the Bootstrap Sass files, or don't want to use a CDN for …
Why React-Bootstrap? - GitHub Pages
In this way, React-Bootstrap provides a more reliable solution by incorporating Bootstrap functionality into React's virtual DOM. Below are a few examples of how React-Bootstrap components differ from …
Buttons | React Bootstrap
React Bootstrap will prevent any onClick handlers from firing regardless of the rendered element. Button loading state When activating an asynchronous action from a button it is a good UX pattern to give …
Forms | React Bootstrap
In this case, you must manually modify these controls by adding tabindex="-1" to prevent them from receiving focus and aria-disabled="disabled" to signal their state to assistive technologies. API Form …
Navbars | React Bootstrap
import Container from 'react-bootstrap/Container'; import Nav from 'react-bootstrap/Nav'; import Navbar from 'react-bootstrap/Navbar'; import NavDropdown from 'react-bootstrap/NavDropdown';
Cards | React Bootstrap
import Card from 'react-bootstrap/Card'; function BodyOnlyExample () { return ( <Card> <Card.Body>This is some text within a card body.</Card.Body> </Card> ); } export default …
Tabbed components | React Bootstrap
import Col from 'react-bootstrap/Col'; import Nav from 'react-bootstrap/Nav'; import Row from 'react-bootstrap/Row'; import Tab from 'react-bootstrap/Tab'; function LeftTabsExample () { return ( …
Alerts | React Bootstrap
import Alert from 'react-bootstrap/Alert'; function AdditionalContentExample () { return ( <Alert variant="success"> <Alert.Heading>Hey, nice to see you</Alert.Heading> <p> Aww yeah, you …
Dropdowns | React Bootstrap
import Button from 'react-bootstrap/Button'; import ButtonGroup from 'react-bootstrap/ButtonGroup'; import Dropdown from 'react-bootstrap/Dropdown'; function ButtonCustomExample () { return ( <> …