React Bootstrap with Material Design
Built with React and Bootstrap 4. Absolutely no jQuery.
400+ material UI elements, 600+ material icons, 74 CSS animations, SASS files and many more.
All fully responsive. All compatible with different browsers.
Table of Contents
- Other Technologies
- Demo
- Version
- Quick start
- Available commands
- How to install MDB via npm
- Supported Browsers
- Documentation
- Pro version
- Highlights
- Useful Links
- Social Media
Other Technologies
Demo:
Version:
- MDBReact 5.0.1
- React 16.12.0
Quick start
- Clone following repo:
git clone https://github.com/mdbootstrap/react-bootstrap-with-material-design .
note "." at the end. It will clone files directly into current folder.
- Run
npm i
- Run
npm start
- Voilà! Open browser and visit http://localhost:3000
Now you can navigate to our documentation, pick any component and place within your project.
Available commands
- npm start - runs the app in development mode.
- npm run remove-demo - remove demo directory from your project and generate a boilerplate for your app
- npm run build - builds the app for production to the build folder.
- npm test - runs the test watcher in an interactive mode.
How to install MDB via npm:
- create new project
create-react-app myApp
cd myApp
npm install --save mdbreact
- Import style files into the src/index.js before the App.js file:
import '@fortawesome/fontawesome-free/css/all.min.css';
import 'bootstrap-css-only/css/bootstrap.min.css';
import 'mdbreact/dist/css/mdb.css';
Run server
npm start
Supported browsers
MDBootstrap supports the latest, stable releases of all major browsers and platforms.
Alternative browsers which use the latest version of WebKit, Blink, or Gecko, whether directly or via the platform’s web view API, are not explicitly supported. However, MDBootstrap should (in most cases) display and function correctly in these browsers as well.
Mobile devices
Generally speaking, MDBootstrap supports the latest versions of each major platform’s default browsers. Note that proxy browsers (such as Opera Mini, Opera Mobile’s Turbo mode, UC Browser Mini, Amazon Silk) are not supported.
Desktop browsers
Similarly, the latest versions of most desktop browsers are supported.
![]() Chrome |
![]() Firefox |
![]() Internet Explorer |
![]() Edge |
![]() Opera |
![]() Safari |
|
---|---|---|---|---|---|---|
Mac | Supported | Supported | N/A | N/A | Supported | Supported |
Windows | Supported | Supported | N/A | Supported | Supported | Not supported |
Documentation:
Huge, detailed documentation avilable online
PRO version:
React Bootstrap with Material Design PRO
Highlights:
Bootstrap 4 Up-to-date with the latest standards of Bootstrap 4 and all the best it has to offer.
Detailed documentation Intuitive and user-friendly documentation, created with a copy-paste approach.
No jQuery Writing you code with pure React is now quicker, easier, and cleaner.
Cross-browser compatibility Works perfectly with Chrome, Firefox, Safari, Opera and Microsoft Edge.
Frequent updates Expect any bugs being fixed in a matter of days.
Active community MDB is broadly used by professionals on multiple levels, who are ready to aid you.
Useful helpers Reduce the frequency of highly repetitive declarations in your CSS.
Technical support Every day we help our users with their issues and problems.
SASS files Thought-out .scss files come in a compile-ready form.
Flexbox Full support of Flexbox layout system lets you forget about alignment issues.
Support MDB developers
- Star our GitHub repo
- Create pull requests, submit bugs, suggest new features or documentation updates
- Follow us on Twitter
- Like our page on Facebook
A big
Is this a new library or a new version of mdbreact?
When trying to find the mdbreact repository, I get redirected to this repo, so the questions are:
It seems that we are lacking some clear communication about what happened and this might confuse a lot of developers that use this library.
[1.0.0] MDBModal: Uncaught TypeError: p is not a function at eval (mdb-react-ui-kit.esm.js:95)
It started failing after update from 1.0.0-beta7 to 1.0.0
JSX:
It fails even like this
Extremely weird behavior of the `MDBDataTable` component
Env
Steps To Reproduce:
Create the base app:
Change the
App.tsx
to:Start app:
Observed Behavior
The table displays "the-message"
Expected Behavior
The table should display "value2"
Questions:
Is there some magic field in
MDBDataTable
calledmessage
? Is this just a bug that should have surfaced up by now, but somehow, hasn't ? Or am I just doing something terribly stupid here (lack of sleep and high caffeine maybe) ?scroll not hidden when modal is open
MDBInput not displaying properly in Modal
label overlap input box border border When the input box is in a Modal. sorry for my english is bad.
React-Bootstrap-with-Material-Design?
Wondering what's the relationship is with the other project https://github.com/mdbootstrap/React-Bootstrap-with-Material-Design ??
It's not visible this one uses that one. It has very little stars.
MdbInput label overlaps the text from the input field when the input focus is lost
Checkboxes are not aligned with the text when changing $font-size-base
With the free theme, if I change the value of
$font-size-base
to1.25rm
, checkboxes look a little bit offset from the text :I can think of two solutions to this problems (but I don't know which one is preferable in the general case) :
Possible workaround : For now, I have achieved to implement the first solution in my own project by overriding the default values to take into account the text size. Maybe those would make better default values.
Also, thank you for making this awesome library available for free !
MDBCarousel behavior is weird + bug in documentation
prevIcon
can be added to allow customization.interval
is placed on<MDBCarousel showControls interval={10000}>
while in realityinterval
prop should be placed on each<MDBCarouselItem interval={10000}>
. I've verified the code ofMDBCarousel
and there are no interval prop or its usage there.MDBCarouselItem
should useMDBCarousel
'sinterval
unless it has its owninterval
.Carousel not displaying properly
carousel disappearing after showing all pictures. I need my images to be dynamic, so I use map function, but then it doesn't work
MDBBtn outline ripple is not visible
Lets assume we have next button
Expected behavior is that ripple will have any color except white. Perfectly - it should have
success
color, You can see it yourself in docs: https://mdbootstrap.com/docs/b5/react/components/buttons/#section-outlineInstalling produces 3 vulnerabilities
I'm getting 1 low and 1 high vulnerability with the updated version of reactjs which also has an issue that produce 86 vulnerability I also had a project with the earlier version of reactjs and the both vulnerabilities is also shown even with the command npm audit fix or npm update
I don't know if this is a problem in react itself or the mdb.
Edit: MDBBtn is also not working with hooks.