Angular Bootstrap Edge Header
Angular Edge Header - Bootstrap 4 & Material Design
Note: We are transitioning MDB4 to a legacy version and focusing on developing MDB5.
While we'll continue to support for the transition period, we encourage you to migrate to
MDB5. We're offering a 50% discount on MDB5 PRO to help with your transition,
enabling you to leverage the full potential of the latest version. You can find more information here.
get 50% discount on MDB5 PRO
Angular Bootstrap edge header is a component unique for Material Design, that can be often spotted in Google products and pages.
It gives additional depth and meaning to the project by making it seem like the card floats above its background.
It's easy to see this effect in the following Angular Bootstrap edge header example:
Basic example
Material Design Edge Headers
Example of Material Design Form
Never submit your passwords here
<section style="background-color: #ededed" class="pb-5">
<div class="edge-header deep-purple"></div>
<!-- Main Container -->
<div class="container free-bird">
<div class="row">
<div class="col-md-8 col-lg-7 mx-auto float-none white z-depth-1 py-2 px-2">
<!--Naked Form-->
<div class="card-body">
<h2 class="h2-responsive"><strong>Material Design Edge Headers</strong></h2>
<p class="pb-4">Example of Material Design Form</p>
<!--Body-->
<form action="#">
<h5 class="h5-responsive">Basic Textbox</h5>
<!-- Basic textbox -->
<div class="md-form">
<input type="text" id="form1" class="form-control">
<label for="form1" class="">Example label</label>
</div>
<!-- /.Basic textbox -->
<h5 class="h5-responsive">Textbox with icon</h5>
<div class="md-form">
<mdb-icon fas icon="user" class="prefix"></mdb-icon>
<input type="text" id="form2" class="form-control">
<label for="form2">Your name</label>
</div>
<!--Email validation-->
<h5 class="h5-responsive">E-mail validation</h5>
<div class="md-form">
<mdb-icon fas icon="envelope" class="prefix"></mdb-icon>
<input type="email" id="form9" class="form-control validate">
<label for="form9" data-error="wrong" data-success="right">Your email</label>
</div>
<!--Textarea with icon-->
<h5 class="h5-responsive">Textarea</h5>
<div class="md-form">
<mdb-icon fas icon="pencil-alt" class="prefix"></mdb-icon>
<textarea type="text" id="form7" class="md-textarea form-control" rows="2"></textarea>
<label for="form7">Textarea</label>
</div>
<h5 class="h5-responsive">Disabled field</h5>
<div class="md-form">
<input type="text" id="form11" class="form-control" disabled>
<label for="form11" class="disabled">Example label</label>
</div>
<div class="text-xs-left">
<button mdbBtn color="primary">Submit</button>
</div>
</form>
<div class="my-2">
<p style="font-weight:300;font-size:0.75rem">Never submit your passwords here</p>
</div>
</div>
<!--Naked Form-->
</div>
</div>
</div>
<!-- /.Main Container -->
</section>
Angular Edge Header - API
In this section you will find informations about required modules for edge header component.
Modules used
In order to speed up your application, you can choose to import only the modules you actually need, instead of importing the entire MDB Angular library. Remember that importing the entire library, and immediately afterwards a specific module, is bad practice, and can cause application errors.
import { WavesModule, ButtonsModule } from 'ng-uikit-pro-standard';
import { WavesModule, ButtonsModule } from 'angular-bootstrap-md';