React Bootstrap
Web Technology
Rourab Paul, Subin Sahayam, Assistant Professor,
Department of Computer Science and Engineering
Shiv Nadar University
Introduction - Bootstrap
Bootstrap is an open-source front-end framework containing ready-made CSS classes and JavaScript components for building responsive websites and web applications.
K1
Introduction - Bootstrap
K1
Introduction - React Bootstrap
K1
React Bootstrap is a UI framework that provides Bootstrap components as React components. It allows developers to build responsive and attractive web interfaces using Bootstrap's styling while following React's component-based approach.
React Bootstrap - Installation
K1
React Bootstrap - Installation
K1
React Bootstrap - Installation
K3
React Bootstrap - Importing
K3
import Button from 'react-bootstrap/Button';
import Alert from 'react-bootstrap/Alert';
import Card from 'react-bootstrap/Card';
import Form from 'react-bootstrap/Form';
import Navbar from 'react-bootstrap/Navbar';
import Nav from 'react-bootstrap/Nav';
import Container from 'react-bootstrap/Container';
import Modal from 'react-bootstrap/Modal';
import Pagination from 'react-bootstrap/Pagination';
import Offcanvas from 'react-bootstrap/Offcanvas';
App.jsx
React Bootstrap - Example
K3
React Bootstrap - Example
K3
React Bootstrap - Example
K3
npm create vite@latest myapp -- --template react
cd myapp
npm install
npm install react-bootstrap bootstrap
npm run dev
See the default vite page
replace App.jsx and main.jsx in ./src folder
Syllabus
K1
Summary
K1
References
THANK YOU