https://github.com/mdbootstrap/react-drawer
Responsive React navigation Drawer built with the latest Bootstrap 5. Examples like sliding side drawer in a container, multilevel, material, right drawer & more. https://mdbootstrap.com/docs/react/extended/drawer
https://github.com/mdbootstrap/react-drawer
bootstrap bootstrap-template bootstrap-theme bootstrap5 css drawer html js pro react
Last synced: 2 months ago
JSON representation
Responsive React navigation Drawer built with the latest Bootstrap 5. Examples like sliding side drawer in a container, multilevel, material, right drawer & more. https://mdbootstrap.com/docs/react/extended/drawer
- Host: GitHub
- URL: https://github.com/mdbootstrap/react-drawer
- Owner: mdbootstrap
- Created: 2022-08-16T07:20:18.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-16T10:52:10.000Z (about 3 years ago)
- Last Synced: 2025-08-08T19:30:30.307Z (2 months ago)
- Topics: bootstrap, bootstrap-template, bootstrap-theme, bootstrap5, css, drawer, html, js, pro, react
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# MDB React 5
Responsive React navigation Drawer built with the latest Bootstrap 5. Examples like sliding side drawer in a container, multilevel, material, right drawer & more.
Check out [React Drawer Documentation](https://mdbootstrap.com/docs/react/extended/drawer) for detailed instructions & even more examples.
## Basic example

```js
import React, { useState } from 'react';
import {
MDBSideNav,
MDBSideNavMenu,
MDBSideNavItem,
MDBSideNavLink,
MDBSideNavCollapse,
MDBBtn,
MDBIcon
} from 'mdb-react-ui-kit';export default function App() {
const [basicOpen, setBasicOpen] = useState(true);
const [basicCollapse1, setBasicCollapse1] = useState(true);
const [basicCollapse2, setBasicCollapse2] = useState(false);return (
<>
setBasicOpen(e)}>
Link 1
setBasicCollapse1(!basicCollapse1)}>
Category 1
Link 2
Link 3
setBasicCollapse2(!basicCollapse2)}>
Category 2
Link 4
Link 5
setBasicOpen(!basicOpen)}>
>
);
}
```## How to use?
1. Download MDB 5 - PRO REACT UI KIT
2. Choose your favourite customized component and click on the image
3. Copy & paste the code into your MDB project
[▶️ Subscribe to YouTube channel for web development tutorials & resources](https://www.youtube.com/MDBootstrap?sub_confirmation=1)
## More examples (click on the image to see a live demo)
### Positioning:
[](https://mdbootstrap.com/docs/react/extended/drawer#section-sidenav-positioning)## Colors example:
[](https://mdbootstrap.com/docs/react/extended/drawer#section-sidenav-colors)## Dark example:
[](https://mdbootstrap.com/docs/react/extended/drawer#section-sidenav-dark)## Inner scroll:
[](https://mdbootstrap.com/docs/react/extended/drawer#section-inner-scroll)## Menu item scroll:
[](https://mdbootstrap.com/docs/react/extended/drawer#section-menu-item-scroll)## Slim example:
[](https://mdbootstrap.com/docs/react/extended/drawer#section-sidenav-slim)You can find other examples [here](https://mdbootstrap.com/docs/react/extended/drawer).
## More extended React documentation
- React Bootstrap Code
- React Bootstrap Gallery
- React Bootstrap Hamburger Menu
- React Bootstrap Jumbotron
- React Bootstrap Maps
- React Bootstrap Mega Menu
- React Bootstrap Media object
- React Bootstrap Multiselect
- React Bootstrap Masonry
- React Bootstrap Contact form
- React Bootstrap Gradients
- React Bootstrap Pagination
- React Bootstrap Panels
- React Bootstrap Social Media icons & buttons
- React Bootstrap Search
- React Bootstrap Table sort
- React Bootstrap Table responsive
- React Bootstrap Table scroll
- React Bootstrap Table search
- React Bootstrap Textarea
- React Bootstrap Sidebar
- React Bootstrap Profiles
- React Bootstrap Nested Dropdown
- React Bootstrap Address Form
- React Scroll Back to Top button
- React Product Cards
- React Avatar
- React Carousel Slider with Thumbnails
- React Chat
- React Comparison table
- React Comments