Fluid Container
Use <Container fluid /> for width: 100% across all viewport and device sizes.
Example: Below is the code example of the Fluid Container:
Javascript
import Container from "react-bootstrap/Container" ; import Row from "react-bootstrap/Row" ; import Col from "react-bootstrap/Col" ; function ExampleContainer() { return ( <Container fluid> <Row> <Col className= "bg-secondary" >A fluid container</Col> </Row> </Container> ); } export default ExampleContainer; |
Output:
React Bootstrap Grid
React Bootstrap Grid is like the maestro of web page layouts in React Bootstrap. It’s your go-to buddy for crafting designs that look good and adapt seamlessly across devices. From straightforward single-column setups to intricate multi-column arrangements, this tool’s got the flexibility and power to make it happen.
There are two main approaches to implement React Bootstrap Grid:
Table of Content
- Using Grid component
- Using the Row and Col components
Contact Us