Rate this docs

Input group

Bootstrap input group

Group of fields used for collecting data enetred by users. Usually containing buttons, text areas or other inputs. With this component your forms are attractive and easy to customize.


Default input groups

Default styling for Bootstrap Input Group component

@
@example.com
https://example.com/users/
$
.00
With textarea


            <div class="input-group mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text" id="basic-addon1">@</span>
              </div>
              <input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="basic-addon1">
            </div>

            <div class="input-group mb-3">
              <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="basic-addon2">
              <div class="input-group-append">
                <span class="input-group-text" id="basic-addon2">@example.com</span>
              </div>
            </div>

            <label for="basic-url">Your vanity URL</label>
            <div class="input-group mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text" id="basic-addon3">https://example.com/users/</span>
              </div>
              <input type="text" class="form-control" id="basic-url" aria-describedby="basic-addon3">
            </div>

            <div class="input-group mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text">$</span>
              </div>
              <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)">
              <div class="input-group-append">
                <span class="input-group-text">.00</span>
              </div>
            </div>

            <div class="input-group">
              <div class="input-group-prepend">
                <span class="input-group-text">With textarea</span>
              </div>
              <textarea class="form-control" aria-label="With textarea"></textarea>
            </div>

          

Material input groups

Material Design styling for Bootstrap Input Group component

@
@example.com
https://example.com/users/
$
.00
With textarea


            <div class="md-form input-group mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text md-addon" id="material-addon1">@</span>
              </div>
              <input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="material-addon1">
            </div>
            
            <div class="md-form input-group mb-4">
              <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="material-addon2">
              <div class="input-group-append">
                <span class="input-group-text md-addon" id="material-addon2">@example.com</span>
              </div>
            </div>
            
            <label class="mb-0 ml-2" for="material-url">Your vanity URL</label>
            <div class="md-form input-group mt-0 mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text md-addon" id="material-addon3">https://example.com/users/</span>
              </div>
              <input type="text" class="form-control" id="material-url" aria-describedby="material-addon3">
            </div>
            
            <div class="md-form input-group mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text md-addon">$</span>
              </div>
              <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)">
              <div class="input-group-append">
                <span class="input-group-text md-addon">.00</span>
              </div>
            </div>
            
            <div class="md-form input-group">
              <div class="input-group-prepend">
                <span class="input-group-text md-addon">With textarea</span>
              </div>
              <textarea class="md-textarea form-control" aria-label="With textarea"></textarea>
            </div>

          

Sizing

Add the relative form sizing classes to the .input-group itself and contents within will automatically resize—no need for repeating the form control size classes on each element.

Sizing on the individual input group elements isn’t supported.

Default input group

Small
Default
Large


            <div class="input-group input-group-sm mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text" id="inputGroup-sizing-sm">Small</span>
              </div>
              <input type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-sm">
            </div>

            <div class="input-group mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text" id="inputGroup-sizing-default">Default</span>
              </div>
              <input type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-default">
            </div>

            <div class="input-group input-group-lg">
              <div class="input-group-prepend">
                <span class="input-group-text" id="inputGroup-sizing-lg">Large</span>
              </div>
              <input type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-lg">
            </div>

          

Material input group

Small
Default
Large


            <div class="md-form input-group input-group-sm mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text md-addon" id="inputGroupMaterial-sizing-sm">Small</span>
              </div>
              <input type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroupMaterial-sizing-sm">
            </div>
            
            <div class="md-form input-group mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text md-addon" id="inputGroupMaterial-sizing-default">Default</span>
              </div>
              <input type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroupMaterial-sizing-default">
            </div>
            
            <div class="md-form input-group input-group-lg">
              <div class="input-group-prepend">
                <span class="input-group-text md-addon" id="inputGroupMaterial-sizing-lg">Large</span>
              </div>
              <input type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroupMaterial-sizing-lg">
            </div>

          

Checkboxes and radios

Place any checkbox or radio option within an input group’s addon instead of text.

Default input group MDB Pro component



            <div class="input-group mb-3">
              <div class="input-group-prepend">
                <div class="input-group-text" style="height: 38px;">
                  <input class="form-check-input" type="checkbox" value="" id="defaultCheckbox1">
                  <label class="form-check-label" for="defaultCheckbox1">
                </div>
              </div>
              <input type="text" class="form-control" aria-label="Text input with checkbox">
            </div>
            
            <div class="input-group mb-3">
              <div class="input-group-prepend">
                <div class="input-group-text">
                  <input class="form-check-input filled-in" type="checkbox" value="" id="filledInCheckbox1">
                  <label class="form-check-label" for="filledInCheckbox1">
                </div>
              </div>
              <input type="text" class="form-control" aria-label="Text input with checkbox">
            </div>
            
            <div class="input-group">
              <div class="input-group-prepend">
                <div class="input-group-text">
                  <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios1" value="option1">
                  <label class="form-check-label" for="exampleRadios1">
                </div>
              </div>
              <input type="text" class="form-control" aria-label="Text input with radio button">
            </div>

          

Material input group MDB Pro component



            <div class="md-form input-group mt-0 mb-3">
              <div class="input-group-prepend">
                <div class="input-group-text md-addon">
                  <input class="form-check-input" type="checkbox" value="" id="materialCheckbox11">
                  <label class="form-check-label" for="materialCheckbox11">
                </div>
              </div>
              <input type="text" class="form-control" aria-label="Text input with checkbox">
            </div>
    
            <div class="md-form input-group mb-3">
              <div class="input-group-prepend">
                <div class="input-group-text md-addon">
                  <input class="form-check-input filled-in" type="checkbox" value="" id="filledInCheckbox111">
                  <label class="form-check-label" for="filledInCheckbox111">
                </div>
              </div>
              <input type="text" class="form-control" aria-label="Text input with checkbox">
            </div>
    
            <div class="md-form input-group mb-0">
              <div class="input-group-prepend">
                <div class="input-group-text md-addon">
                  <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios111" value="option2">
                  <label class="form-check-label" for="exampleRadios111">
                </div>
              </div>
              <input type="text" class="form-control" aria-label="Text input with radio button">
            </div>

          

Multiple inputs

While multiple <input>s are supported visually, validation styles are only available for input groups with a single <input>.

Default input group

First and last name


            <div class="input-group">
              <div class="input-group-prepend">
                <span class="input-group-text">First and last name</span>
              </div>
              <input type="text" aria-label="First name" class="form-control">
              <input type="text" aria-label="Last name" class="form-control">
            </div>

          

Material input group

First and last name


            <div class="md-form input-group">
              <div class="input-group-prepend">
                <span class="input-group-text md-addon">First and last name</span>
              </div>
              <input type="text" aria-label="First name" class="form-control" placeholder="Type sth">
              <input type="text" aria-label="Last name" class="form-control" placeholder="Type sth">
            </div>

          

Multiple addons

Multiple add-ons are supported and can be mixed with checkbox and radio input versions.

Default input group

$ 0.00
$ 0.00


            <div class="input-group mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text">$</span>
                <span class="input-group-text">0.00</span>
              </div>
              <input type="text" class="form-control" aria-label="Dollar amount (with dot and two decimal places)">
            </div>

            <div class="input-group">
              <input type="text" class="form-control" aria-label="Dollar amount (with dot and two decimal places)">
              <div class="input-group-append">
                <span class="input-group-text">$</span>
                <span class="input-group-text">0.00</span>
              </div>
            </div>

          

Material input group

$ 0.00
$ 0.00


            <div class="md-form input-group mt-0 mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text md-addon">$</span>
                <span class="input-group-text md-addon">0.00</span>
              </div>
              <input type="text" class="form-control" aria-label="Dollar amount (with dot and two decimal places)">
            </div>
    
            <div class="md-form input-group mb-0">
              <input type="text" class="form-control" aria-label="Dollar amount (with dot and two decimal places)">
              <div class="input-group-append">
                <span class="input-group-text md-addon">$</span>
                <span class="input-group-text md-addon">0.00</span>
              </div>
            </div>

           

Button addons

Default input group



            <div class="input-group mb-3">
              <div class="input-group-prepend">
                <button class="btn btn-md btn-outline-primary m-0 px-3 py-2 z-depth-0 waves-effect" type="button" id="button-addon1">Button</button>
              </div>
              <input type="text" class="form-control" placeholder="" aria-label="Example text with button addon" aria-describedby="button-addon1">
            </div>
            
            <div class="input-group mb-3">
              <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="button-addon2">
              <div class="input-group-append">
                <button class="btn btn-md btn-outline-default m-0 px-3 py-2 z-depth-0 waves-effect" type="button" id="button-addon2">Button</button>
              </div>
            </div>
            
            <div class="input-group mb-3">
              <div class="input-group-prepend" id="button-addon3">
                <button class="btn btn-md btn-outline-secondary m-0 px-3 py-2 z-depth-0 waves-effect" type="button">Button</button>
                <button class="btn btn-md btn-outline-secondary m-0 px-3 py-2 z-depth-0 waves-effect" type="button">Button</button>
              </div>
              <input type="text" class="form-control" placeholder="" aria-label="Example text with two button addons" aria-describedby="button-addon3">
            </div>
            
            <div class="input-group">
              <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username with two button addons" aria-describedby="button-addon4">
              <div class="input-group-append" id="button-addon4">
                <button class="btn btn-md btn-outline-info m-0 px-3 py-2 z-depth-0 waves-effect" type="button">Button</button>
                <button class="btn btn-md btn-outline-info m-0 px-3 py-2 z-depth-0 waves-effect" type="button">Button</button>
              </div>
            </div>

          

Material input group



            <div class="md-form input-group mb-3">
              <div class="input-group-prepend">
                <button class="btn btn-md btn-default m-0 px-3" type="button" id="MaterialButton-addon1">Button</button>
              </div>
              <input type="text" class="form-control" placeholder="" aria-label="Example text with button addon" aria-describedby="MaterialButton-addon1">
            </div>
            
            <div class="md-form input-group mb-3">
              <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="MaterialButton-addon2">
              <div class="input-group-append">
                <button class="btn btn-md btn-secondary m-0 px-3" type="button" id="MaterialButton-addon2">Button</button>
              </div>
            </div>
            
            <div class="md-form input-group mb-3">
              <div class="input-group-prepend" id="MaterialButton-addon3">
                <button class="btn btn-md btn-info m-0 px-3" type="button">Button</button>
                <button class="btn btn-md btn-info m-0 px-3" type="button">Button</button>
              </div>
              <input type="text" class="form-control" placeholder="" aria-label="Example text with two button addons" aria-describedby="MaterialButton-addon3">
            </div>
            
            <div class="md-form input-group">
              <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username with two button addons" aria-describedby="MaterialButton-addon4">
              <div class="input-group-append" id="MaterialButton-addon4">
                <button class="btn btn-md btn-primary m-0 px-3" type="button">Button</button>
                <button class="btn btn-md btn-primary m-0 px-3" type="button">Button</button>
              </div>
            </div>

           


Segmented buttons

Default input group



            <div class="input-group mb-3">
              <div class="input-group-prepend">
                <button type="button" class="btn btn-md btn-outline-primary m-0 px-3 py-2 z-depth-0 waves-effect">Action</button>
                <button type="button" class="btn btn-md btn-outline-primary m-0 p-2 z-depth-0 waves-effect dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                  <span class="sr-only">Toggle Dropdown</span>
                </button>
                <div class="dropdown-menu">
                  <a class="dropdown-item" href="#">Action</a>
                  <a class="dropdown-item" href="#">Another action</a>
                  <a class="dropdown-item" href="#">Something else here</a>
                  <div role="separator" class="dropdown-divider"></div>
                  <a class="dropdown-item" href="#">Separated link</a>
                </div>
              </div>
              <input type="text" class="form-control" aria-label="Text input with segmented dropdown button">
            </div>
            
            <div class="input-group">
              <input type="text" class="form-control" aria-label="Text input with segmented dropdown button">
              <div class="input-group-append">
                <button type="button" class="btn btn-md btn-outline-info m-0 px-3 py-2 z-depth-0 waves-effect">Action</button>
                <button type="button" class="btn btn-md btn-outline-info m-0 p-2 z-depth-0 waves-effect dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                  <span class="sr-only">Toggle Dropdown</span>
                </button>
                <div class="dropdown-menu dropdown-menu-right">
                  <a class="dropdown-item" href="#">Action</a>
                  <a class="dropdown-item" href="#">Another action</a>
                  <a class="dropdown-item" href="#">Something else here</a>
                  <div role="separator" class="dropdown-divider"></div>
                  <a class="dropdown-item" href="#">Separated link</a>
                </div>
              </div>
            </div>

          

Material input group MDB Pro component



            <div class="md-form input-group mb-3">
              <div class="input-group-prepend dropdown">
                <button type="button" class="btn btn-md btn-elegant m-0 px-3">Action</button>
                <button type="button" class="btn btn-md btn-elegant m-0 px-2 dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                  <span class="sr-only">Toggle Dropdown</span>
                </button>
                <div class="dropdown-menu dropdown-dark">
                  <a class="dropdown-item" href="#">Action</a>
                  <a class="dropdown-item" href="#">Another action</a>
                  <a class="dropdown-item" href="#">Something else here</a>
                  <div role="separator" class="dropdown-divider"></div>
                  <a class="dropdown-item" href="#">Separated link</a>
                </div>
              </div>
              <input type="text" class="form-control" aria-label="Text input with segmented dropdown button">
            </div>
            
            <div class="md-form input-group">
              <input type="text" class="form-control" aria-label="Text input with segmented dropdown button">
              <div class="input-group-append dropdown">
                <button type="button" class="btn btn-md btn-ins m-0 px-3">Action</button>
                <button type="button" class="btn btn-md btn-ins m-0 px-2 dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                  <span class="sr-only">Toggle Dropdown</span>
                </button>
                <div class="dropdown-menu dropdown-ins dropdown-menu-right">
                  <a class="dropdown-item" href="#">Action</a>
                  <a class="dropdown-item" href="#">Another action</a>
                  <a class="dropdown-item" href="#">Something else here</a>
                  <div role="separator" class="dropdown-divider"></div>
                  <a class="dropdown-item" href="#">Separated link</a>
                </div>
              </div>
            </div>

           

Custom forms

Input groups include support for custom selects and custom file inputs. Browser default versions of these are not supported.

Custom select



          <div class="input-group mb-3">
            <div class="input-group-prepend">
              <label class="input-group-text" for="inputGroupSelect01">Options</label>
            </div>
            <select class="browser-default custom-select" id="inputGroupSelect01">
              <option selected>Choose...</option>
              <option value="1">One</option>
              <option value="2">Two</option>
              <option value="3">Three</option>
            </select>
          </div>
          
          <div class="input-group mb-3">
            <select class="browser-default custom-select" id="inputGroupSelect02">
              <option selected>Choose...</option>
              <option value="1">One</option>
              <option value="2">Two</option>
              <option value="3">Three</option>
            </select>
            <div class="input-group-append">
              <label class="input-group-text" for="inputGroupSelect02">Options</label>
            </div>
          </div>
          
          <div class="input-group mb-3">
            <div class="input-group-prepend">
              <button class="btn btn-md btn-outline-mdb-color m-0 px-3 py-2 z-depth-0 waves-effect" type="button">Button</button>
            </div>
            <select class="browser-default custom-select" id="inputGroupSelect03" aria-label="Example select with button addon">
              <option selected>Choose...</option>
              <option value="1">One</option>
              <option value="2">Two</option>
              <option value="3">Three</option>
            </select>
          </div>
          
          <div class="input-group">
            <select class="browser-default custom-select" id="inputGroupSelect04" aria-label="Example select with button addon">
              <option selected>Choose...</option>
              <option value="1">One</option>
              <option value="2">Two</option>
              <option value="3">Three</option>
            </select>
            <div class="input-group-append">
              <button class="btn btn-md btn-outline-mdb-color m-0 px-3 py-2 z-depth-0 waves-effect" type="button">Button</button>
            </div>
          </div>

        

Custom file input

Upload
Upload


          <div class="input-group mb-3">
            <div class="input-group-prepend">
              <span class="input-group-text" id="inputGroupFileAddon01">Upload</span>
            </div>
            <div class="custom-file">
              <input type="file" class="custom-file-input" id="inputGroupFile01" aria-describedby="inputGroupFileAddon01">
              <label class="custom-file-label" for="inputGroupFile01">Choose file</label>
            </div>
          </div>
          
          <div class="input-group mb-3">
            <div class="custom-file">
              <input type="file" class="custom-file-input" id="inputGroupFile02">
              <label class="custom-file-label" for="inputGroupFile02" aria-describedby="inputGroupFileAddon02">Choose file</label>
            </div>
            <div class="input-group-append">
              <span class="input-group-text" id="inputGroupFileAddon02">Upload</span>
            </div>
          </div>
          
          <div class="input-group mb-3">
            <div class="input-group-prepend">
              <button class="btn btn-md btn-outline-mdb-color m-0 px-3 py-2 z-depth-0 waves-effect" type="button" id="inputGroupFileAddon03">Button</button>
            </div>
            <div class="custom-file">
              <input type="file" class="custom-file-input" id="inputGroupFile03" aria-describedby="inputGroupFileAddon03">
              <label class="custom-file-label" for="inputGroupFile03">Choose file</label>
            </div>
          </div>
          
          <div class="input-group">
            <div class="custom-file">
              <input type="file" class="custom-file-input" id="inputGroupFile04" aria-describedby="inputGroupFileAddon04">
              <label class="custom-file-label" for="inputGroupFile04">Choose file</label>
            </div>
            <div class="input-group-append">
              <button class="btn btn-md btn-outline-mdb-color m-0 px-3 py-2 z-depth-0 waves-effect" type="button" id="inputGroupFileAddon04">Button</button>
            </div>
          </div>

        

Accessibility

Screen readers will have trouble with your forms if you don’t include a label for every input. For these input groups, ensure that any additional label or functionality is conveyed to assistive technologies.

The exact technique to be used (<label> elements hidden using the .sr-only class, or use of the aria-label and aria-labelledby attributes, possibly in combination with aria-describedby) and what additional information will need to be conveyed will vary depending on the exact type of interface widget you’re implementing. The examples in this section provide a few suggested, case-specific approaches.

Getting started : download & setup


Download

All the components and features are part of MDBootstrap package.

MDBootstrap (Material Design for Bootstrap) is a free (MIT Licensed) framework combining Material Design and the newest Bootstrap 4.

Click the button below to go to Download Page, where you can download MDBootstrap package.

MDBootstrap Download MDBootstrap About

MDB Pro

Using components and features labeled as MDB Pro component requires MDB Pro package.

Click the button below to learn more about MDBbootstrap Pro package

MDBootstrap Pro

Tutorials

If you need additional help to start, use our "5 min Quick Start" or "Full tutorial" resources.

5 min Quick Start Full Tutorial

Compilation

To reduce a weight of MDBootstrap package, you can compile your own, custom package containing only components and features you need.

Map of dependencies of SCSS files in MDBootstrap:


    Legend:

    '-->' means 'required'

    All free and pro files require files from 'core' catalog

    'none' means 'this component doesn't require anything except core files'

    A file wrapped by `< >` means that this file make the base component prettier but it isn't necessary for the proper working

    All PRO components require 'pro/_variables.scss' file

    scss/
    |
    |-- core/
    |   |
    |   |-- bootstrap/
    |   |	|-- _functions.scss
    |   |	|-- _variables.scss
    |   |
    |   |-- _colors.scss
    |   |-- _global.scss
    |   |-- _helpers.scss
    |   |-- _masks.scss
    |   |-- _mixins.scss
    |   |-- _typography.scss
    |   |-- _variables.scss
    |   |-- _waves.scss
    |
    |-- free/
    |   |-- _animations-basic.scss --> none
    |   |-- _animations-extended.scss --> _animations-basic.scss
    |   |-- _buttons.scss --> none
    |   |-- _cards.scss --> none <_buttons.scss>
    |   |-- _dropdowns.scss --> none <_buttons.scss>
    |   |-- _input-group.scss --> _forms.scss, _buttons.scss, _dropdowns.scss
    |   |-- _navbars.scss --> none <_buttons.scss, _forms.scss, _input-group.scss>
    |   |-- _pagination.scss --> none
    |   |-- _badges.scss --> none
    |   |-- _modals.scss --> _buttons.scss, _forms.scss (PRO --> _tabs.scss)
    |   |-- _carousels.scss --> <_buttons.scss>
    |   |-- _forms.scss --> none
    |   |-- _msc.scss --> none <_buttons.scss, _forms.scss, _cards.scss>
    |   |-- _footers.scss none <_buttons.scss> (PRO: )
    |   |-- _list-group.scss --> none
    |   |-- _tables.scss --> none (PRO: _material-select.scss, pro/_forms.scss, _checkbox.scss, pro/_buttons.scss, pro/_cards.scss, _pagination.scss, pro/_msc.scss)
    |   |-- _depreciated.scss
    |
    |-- pro/
    |   |
    |   |-- picker/
    |   |   |-- _default.scss --> none
    |   |   |-- _default-time.scss --> _default.scss, free/_forms.scss, free/_buttons.scss, pro/_buttons.scss, free/_cards.scss
    |   |   |-- _default-date.scss --> _default.scss, free/_forms.scss
    |   |
    |   |-- sections/
    |   |   |-- _templates.scss --> _sidenav.scss
    |   |   |-- _social.scss --> free/_cards.scss, free/ _forms.scss, free/_buttons.scss, pro/_buttons.scss,
    |   |   |-- _team.scss --> free/_buttons.scss, pro/_buttons.scss, free/_cards.scss, pro/_cards.scss
    |   |   |-- _testimonials.scss --> free/_carousels.scss, pro/_carousels.scss, free/_buttons.scss, pro/_buttons.scss
    |   |   |-- _magazine.scss --> _badges.scss
    |   |   |-- _pricing.scss --> free/_buttons.scss, pro/_buttons.scss
    |   |   |-- _contacts.scss --> free/_forms.scss, pro/_forms.scss, free/_buttons.scss, pro/_buttons.scss
    |   |
    |   |-- _variables.scss
    |   |-- _buttons.scss --> free/_buttons.scss, pro/_msc.scss, _checkbox.scss, _radio.scss
    |   |-- _social-buttons.scss --> free/_buttons.scss, pro/_buttons.scss
    |   |-- _tabs.scss --> _cards.scss
    |   |-- _cards.scss --> free/_cards.scss <_buttons.scss, _social-buttons.scss>
    |   |-- _dropdowns.scss --> free/_dropdowns.scss, free/_buttons.scss
    |   |-- _navbars.scss --> free/_navbars.scss  (PRO: )
    |   |-- _scrollspy.scss --> none
    |   |-- _lightbox.scss --> none
    |   |-- _chips.scss --> none
    |   |-- _msc.scss --> none
    |   |-- _forms.scss --> none
    |   |-- _radio.scss --> none
    |   |-- _checkbox.scss --> none
    |   |-- _material-select.scss --> none
    |   |-- _switch.scss --> none
    |   |-- _file-input.scss --> free/_forms.scss, free/_buttons.scss
    |   |-- _range.scss --> none
    |   |-- _input-group.scss --> free/_input-group.scss and the same what free input group, _checkbox.scss, _radio.scss
    |   |-- _autocomplete.scss --> free/_forms.scss
    |   |-- _accordion.scss --> pro/_animations.scss, free/_cards.scss
    |   |-- _parallax.scss --> none
    |   |-- _sidenav.scss --> free/_forms.scss, pro/_animations.scss, sections/_templates.scss
    |   |-- _ecommerce.scss --> free/_cards.scss, pro/_cards.scss, free/_buttons.scss, pro/_buttons.scss, pro/_msc.scss
    |   |-- _carousels.scss --> free/_carousels.scss, free/_cards.scss, free/_buttons.scss 
    |   |-- _steppers.scss --> free/_buttons.scss
    |   |-- _blog.scss --> none
    |   |-- _toasts.scss --> free/_buttons.scss
    |   |-- _animations.scss --> none
    |   |-- _charts.scss --> none
    |   |-- _progress.scss --> none
    |   |-- _scrollbar.scss --> none
    |   |-- _skins.scss --> none
    |   |-- _depreciated.scss
    |
    `-- _custom-skin.scss
    `-- _custom-styles.scss
    `-- _custom-variables.scss
    `-- mdb.scss

  

Map of dependencies of JavaScript modules in MDBootstrap:


    Legend:

    '-->' means 'required'

    All files require jQuery and bootstrap.js

    js/
    ├── dist/
    │   ├── buttons.js
    │   ├── cards.js
    │   ├── character-counter.js
    │   ├── chips.js
    │   ├── collapsible.js --> vendor/velocity.js
    │   ├── dropdown.js --> Popper.js, jquery.easing.js
    │   ├── file-input.js
    │   ├── forms-free.js
    │   ├── material-select.js --> dropdown.js
    │   ├── mdb-autocomplete.js
    │   ├── preloading.js
    │   ├── range-input.js --> vendor/velocity.js
    │   ├── scrolling-navbar.js
    │   ├── sidenav.js --> vendor/velocity.js, vendor/hammer.js, vendor/jquery.hammer.js
    │   └── smooth-scroll.js
    ├── _intro-mdb-pro.js
    ├── modules.js
    ├── src/
    │   ├── buttons.js
    │   ├── cards.js
    │   ├── character-counter.js
    │   ├── chips.js
    │   ├── collapsible.js --> vendor/velocity.js
    │   ├── dropdown.js --> Popper.js, jquery.easing.js
    │   ├── file-input.js
    │   ├── forms-free.js
    │   ├── material-select.js --> dropdown.js
    │   ├── mdb-autocomplete.js
    │   ├── preloading.js
    │   ├── range-input.js --> vendor/velocity.js
    │   ├── scrolling-navbar.js
    │   ├── sidenav.js --> vendor/velocity.js, vendor/hammer.js, vendor/jquery.hammer.js
    │   └── smooth-scroll.js
    └── vendor/
        ├── addons/
        │   ├── datatables.js
        │   └── datatables.min.js
        ├── chart.js
        ├── enhanced-modals.js
        ├── hammer.js
        ├── jarallax.js
        ├── jarallax-video.js --> vendor/jarallax.js
        ├── jquery.easing.js
        ├── jquery.easypiechart.js
        ├── jquery.hammer.js --> vendor/hammer.js
        ├── jquery.sticky.js
        ├── lightbox.js
        ├── picker-date.js --> vendor/picker.js
        ├── picker.js
        ├── picker-time.js --> vendor/picker.js
        ├── scrollbar.js
        ├── scrolling-navbar.js
        ├── toastr.js
        ├── velocity.js
        ├── waves.js
        └── wow.js
  

Compilation & Customization tutorial

If you need additional help to compile your custom package, use our Compilation & Customization tutorial

Compilation & Customization tutorial

Integrations with Angular, React or Vue

Apart from standard Bootstrap integration with jQuery, MDBootstrap provides integrations with Angular, React and Vue.

About MDB Angular About MDB React About MDB Vue

Input group examples & customization


Material buttons input groups MDB Pro component



				<!-- Grid row -->
				<div class="row">

					<!-- Grid column -->
					<div class="col-md-6">

						<div class="md-form input-group">
							<span class="input-group-btn">
								<button class="btn btn-primary peach-gradient m-0" type="button">Go!</button>
							</span>
							<input type="search" class="form-control" placeholder="Search for...">
						</div>

					</div>
					<!-- Grid column -->

					<!-- Grid column -->
					<div class="col-md-6">

						<div class="md-form input-group">
							<input type="search" class="form-control" placeholder="Search for...">
							<span class="input-group-btn">
								<button class="btn btn-primary aqua-gradient m-0" type="button">Go!</button>
							</span>
						</div>

					</div>
					<!-- Grid column -->

				</div>
				<!-- Grid row -->

				<!-- Grid row -->
				<div class="row">

					<!-- Grid column -->
					<div class="col-md-6">

						<div class="md-form input-group">
							<span class="input-group-btn">
								<button class="btn btn-outline-warning waves-effect m-0" type="button">Go!</button>
							</span>
							<input type="search" class="form-control" placeholder="Search for...">
						</div>

					</div>
					<!-- Grid column -->

					<!-- Grid column -->
					<div class="col-md-6">

						<div class="md-form input-group">
							<input type="search" class="form-control" placeholder="Search for...">
							<span class="input-group-btn">
								<button class="btn btn-outline-success waves-effect m-0" type="button">Go!</button>
							</span>
						</div>

					</div>
					<!-- Grid column -->

				</div>
				<!-- Grid row -->

				<!-- Grid row -->
				<div class="row">

					<!-- Grid column -->
					<div class="col-md-8">

						<div class="md-form input-group">
							<span class="input-group-btn">
								<button class="btn btn-indigo btn-rounded m-0" type="button">Hate it</button>
							</span>
							<input type="text" class="form-control" placeholder="Product name">
							<span class="input-group-btn">
								<button class="btn btn-pink btn-rounded m-0" type="button">Love it</button>
							</span>
						</div>

						<div class="md-form input-group">
							<span class="input-group-btn">
								<button class="btn btn-outline-default btn-rounded waves-effect m-0" type="button">Hate it</button>
							</span>
							<input type="text" class="form-control" placeholder="Product name">
							<span class="input-group-btn">
								<button class="btn btn-outline-danger btn-rounded waves-effect m-0" type="button">Love it</button>
							</span>
						</div>

					</div>
					<!-- Grid column -->

				</div>
				<!-- Grid row -->

      

Colorful input groups

@
$
.00
$ 0.00
@example.com
https://example.com/users/


				<div class="input-group md-form form-sm form-3 pl-0">
					<div class="input-group-prepend">
						<span class="input-group-text amber lighten-3 black-text" id="basic-addon9">@</span>
					</div>
					<input type="text" class="form-control mt-0 amber-border" placeholder="Username" aria-describedby="basic-addon9">
				</div>

				<div class="input-group md-form form-sm form-4 pl-0">
					<div class="input-group-prepend">
						<span class="input-group-text lime lighten-2 black-text">$</span>
					</div>
					<input type="text" class="form-control mt-0 lime-border" aria-label="Amount (to the nearest dollar)">
					<div class="input-group-append">
						<span class="input-group-text lime lighten-2 black-text">.00</span>
					</div>
				</div>

				<div class="input-group md-form form-sm form-3 pl-0">
					<div class="input-group-prepend">
						<span class="input-group-text red lighten-3 black-text">$</span>
						<span class="input-group-text red lighten-3 black-text">0.00</span>
					</div>
					<input type="text" class="form-control mt-0 red-border" aria-label="Amount (to the nearest dollar)">
				</div>

				<div class="input-group md-form form-sm form-5 pl-0">
					<input type="text" class="form-control mt-0 purple-border" placeholder="Recipient's username" aria-describedby="basic-addon12">
					<div class="input-group-append">
						<span class="input-group-text purple lighten-3 black-text" id="basic-addon12">@example.com</span>
					</div>
				</div>

				<label for="basic-url">Your vanity URL</label>
				<div class="input-group md-form form-sm form-3 pl-0">
					<div class="input-group-prepend">
						<span class="input-group-text blue lighten-3 black-text" id="basic-addon33">https://example.com/users/</span>
					</div>
					<input type="text" class="form-control mt-0 blue-border" id="basic-url" aria-describedby="basic-addon33">
				</div>

      


        .input-group.md-form.form-sm.form-4 input {
					border: 1px solid #bdbdbd;
				}
				.input-group.md-form.form-sm.form-4 input[type=text]:focus:not([readonly]).lime-border  {
					border: 1px solid #cddc39;
					box-shadow: none;
				}
				.input-group.md-form.form-sm.form-3 input {
					border: 1px solid #bdbdbd;
					border-top-right-radius: 0.25rem;
					border-bottom-right-radius: 0.25rem;
				}
				.input-group.md-form.form-sm.form-3 input[type=text]:focus:not([readonly]).red-border  {
					border: 1px solid #ef9a9a;
					box-shadow: none;
				}
				.input-group.md-form.form-sm.form-3 input[type=text]:focus:not([readonly]).amber-border  {
					border: 1px solid #ffca28;
					box-shadow: none;
				}
				.input-group.md-form.form-sm.form-3 input[type=text]:focus:not([readonly]).blue-border  {
					border: 1px solid #64b5f6;
					box-shadow: none;
				}
				.input-group.md-form.form-sm.form-5 input {
					border: 1px solid #bdbdbd;
					border-top-left-radius: 0.25rem;
					border-bottom-left-radius: 0.25rem;
				}
				.input-group.md-form.form-sm.form-5 input[type=text]:focus:not([readonly]).purple-border  {
					border: 1px solid #ce93d8;
					box-shadow: none;
				}