Skip to main content

Installation & Example

The most common way of consuming React-Bootstrap is via:

yarn add react-bootstrap bootstrap@5.1.3
# or if you prefer npm:npm install react-bootstrap bootstrap@5.1.3

TypeScript Example#

As an example all desired components can be imported like this:

import { Card, Col, Container, Row } from "react-bootstrap";

You may check out the example below for using React-Bootstrap in Typescript app: