bootstrap-modal-form
v1.0.1
Published
Bootstrap modal forms are displayed-on-action pop-up forms that are used for gathering data from website visitors, to register or log users.
Downloads
8
Maintainers
Readme
Bootstrap modal forms are displayed-on-action pop-up forms that are used for gathering data from website visitors, to register or log users.
Check out Bootstrap Modal form Documentation for detailed instructions & even more examples.
Simple modal login
<!-- Button trigger modal -->
<button type="button" class="btn btn-primary" data-mdb-toggle="modal" data-mdb-target="#staticBackdrop1">
Launch modal login form
</button>
<!-- Modal -->
<div class="modal fade" id="staticBackdrop1" tabindex="-1" aria-labelledby="exampleModalLabel1" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel1">Sign in</h5>
<button type="button" class="btn-close" data-mdb-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body p-4">
<form>
<!-- Email input -->
<div class="form-outline mb-4">
<input type="email" id="email1" class="form-control" />
<label class="form-label" for="email1">Email address</label>
</div>
<!-- password input -->
<div class="form-outline mb-4">
<input type="password" id="password1" class="form-control" />
<label class="form-label" for="password1">Password</label>
</div>
<!-- Submit button -->
<button type="submit" class="btn btn-primary btn-block">Login</button>
</form>
</div>
</div>
</div>
</div>
<!-- Modal -->
How to use?
Download MDB 5 - free UI KIT
Choose your favourite customized component and click on the image
Copy & paste the code into your MDB project
▶️ Subscribe to YouTube channel for web development tutorials & resources
More examples
Bootstrap Simple modal register:
Bootstrap Simple modal subscription:
Bootstrap Simple modal contact: