Edit these docs Rate these docs

React Bootstrap Shadows

React Shadows - Bootstrap 4 & Material Design

React Bootstrap shadow is an effect used in web elements which provides important visual cues about objects' depth and directional movement.

They are the only visual cue indicating the amount of separation between surfaces. An object’s elevation determines the appearance of its shadow.

Creating shadows with MDB is very easy. You only need to add one of the shadow classes to chosen element.


Add one of the following classes to any html element to achieve a desired depth of the shadow







        <div className="shadow-box-example z-depth-5"></div>

          .shadow-box-example {
            height: 120px;
            width: 100%;
            background-color: #64b5f6;


To remove existing shadow from given element use className .z-depth-0

Shadow on hover

hover me!

        <div className="shadow-box-example hoverable">

        .shadow-box-example {
          height: 120px;
          width: 100%;
          background-color: #64b5f6;

Install MDB CLI
It's the fastest way to create and host MDB projects
Free Download