import modal from 'react-bootstrap/modal' code example Example: import modal bootstrap react import {Modal} from 'react-bootstrap/modal'