General Buttons
Use a classes btn btn-success
to quickly create a General btn.
<div class="button-group">
<button type="button" class="btn waves-effect waves-light btn-primary">Primary</button>
<button type="button" class="btn waves-effect waves-light btn-secondary">Secondary</button>
<button type="button" class="btn waves-effect waves-light btn-success">Success</button>
<button type="button" class="btn waves-effect waves-light btn-info">Info</button>
<button type="button" class="btn waves-effect waves-light btn-warning">Warning</button>
<button type="button" class="btn waves-effect waves-light btn-danger">Danger</button>
<button type="button" class="btn waves-effect waves-light btn-light">Light</button>
<button type="button" class="btn waves-effect waves-light btn-dark">Dark</button>
</div>
Button Tags
The .btn
classes are designed to be used with the .<button>
element.
Link
<a class="btn btn-primary" href="#" role="button">Link</a>
<button class="btn btn-primary" type="submit">Button</button>
<input class="btn btn-primary" type="button" value="Input">
<input class="btn btn-primary" type="submit" value="Submit">
<input class="btn btn-primary" type="reset" value="Reset">
Button with outline
Use a classes btn btn-outline-success
to quickly create a General btn.
<div class="button-group">
<button type="button" class="btn waves-effect waves-light btn-outline-primary">Primary</button>
<button type="button" class="btn waves-effect waves-light btn-outline-secondary">Secondary</button>
<button type="button" class="btn waves-effect waves-light btn-outline-success">Success</button>
<button type="button" class="btn waves-effect waves-light btn-outline-info">Info</button>
<button type="button" class="btn waves-effect waves-light btn-outline-warning">Warning</button>
<button type="button" class="btn waves-effect waves-light btn-outline-danger">Danger</button>
<button type="button" class="btn waves-effect waves-light btn-outline-light">Light</button>
<button type="button" class="btn waves-effect waves-light btn-outline-dark">Dark</button>
</div>
Rounded Buttons
Use a classes btn btn-rounded btn-success
to quickly create a General btn.
<div class="button-group">
<button type="button" class="btn waves-effect waves-light btn-rounded btn-primary">Primary</button>
<button type="button" class="btn waves-effect waves-light btn-rounded btn-secondary">Secondary</button>
<button type="button" class="btn waves-effect waves-light btn-rounded btn-success">Success</button>
<button type="button" class="btn waves-effect waves-light btn-rounded btn-info">Info</button>
<button type="button" class="btn waves-effect waves-light btn-rounded btn-warning">Warning</button>
<button type="button" class="btn waves-effect waves-light btn-rounded btn-danger">Danger</button>
<button type="button" class="btn waves-effect waves-light btn-rounded btn-light">Light</button>
<button type="button" class="btn waves-effect waves-light btn-rounded btn-dark">Dark</button>
</div>
Rounded outlined Buttons
Use a classes btn btn-rounded btn-outline-success
to quickly create a General btn.
Button Sizes
Use a classes btn btn-lg btn-success
to quickly create a General btn.
<div class="button-group">
<button type="button" class="btn waves-effect waves-light btn-lg btn-primary">Large .btn-lg </button>
<button type="button" class="btn waves-effect waves-light btn-secondary">Normal .btn</button>
<button type="button" class="btn waves-effect waves-light btn-sm btn-success">Small .btn-sm</button>
<button type="button" class="btn waves-effect waves-light btn-xs btn-info">Tiny .btn-xs</button>
</div>
Button Sizes with rounded
Use a classes btn btn-lg btn-rounded btn-success
to create a btn.
<div class="button-group">
<button type="button" class="btn waves-effect waves-light btn-lg btn-rounded btn-primary">Large .btn-lg </button>
<button type="button" class="btn waves-effect waves-light btn-rounded btn-secondary">Normal .btn</button>
<button type="button" class="btn waves-effect waves-light btn-rounded btn-sm btn-success">Small .btn-sm</button>
<button type="button" class="btn waves-effect waves-light btn-rounded btn-xs btn-info">Tiny .btn-xs</button>
</div>
Block buttons
Use a classes btn btn-block btn-success
to quickly create a General btn.
<div class="row button-group">
<div class="col-lg-2 col-md-4">
<button type="button" class="btn waves-effect waves-light btn-block btn-info">Info</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn waves-effect waves-light btn-block btn-success">Success</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn waves-effect waves-light btn-block btn-primary">Primary</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn waves-effect waves-light btn-block btn-danger">Danger</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn waves-effect waves-light btn-block btn-secondary">Secondary</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn waves-effect waves-light btn-block btn-warning">Warning</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn waves-effect waves-light btn-block btn-light">Light</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn waves-effect waves-light btn-block btn-dark">Dark</button>
</div>
</div>
Rounded Block buttons
Use a classes btn btn-block btn-success
to quickly create a General btn.
<div class="row button-group">
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-info">Info</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-success">Success</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-primary">Primary</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-danger">Danger</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-secondary">Secondary</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-warning">Warning</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-light">Light</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-dark">Dark</button>
</div>
</div>
Block outline buttons
Use a classes btn btn-block btn-outline-success
to quickly create a General btn.
<div class="row button-group">
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-outline-info">Info</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-outline-success">Success</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-outline-primary">Primary</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-outline-danger">Danger</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-outline-secondary">Secondary</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-outline-warning">Warning</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-outline-light">Light</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-outline-dark">Dark</button>
</div>
</div>
Rounded outline Block buttons
Use a classes btn btn-block btn-outline-success
to quickly create a General btn.
<div class="row button-group">
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-outline-info">Info</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-outline-success">Success</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-outline-primary">Primary</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-outline-danger">Danger</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-outline-secondary">Secondary</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-outline-warning">Warning</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-outline-light">Light</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-rounded btn-block btn-outline-dark">Dark</button>
</div>
</div>
Large Block buttons
Use a classes btn btn-block btn-lg btn-success
to quickly create a General btn.
<div class="row button-group">
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-lg btn-info">Info</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-lg btn-success">Success</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-lg btn-primary">Primary</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-lg btn-danger">Danger</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-lg btn-secondary">Second</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-lg btn-warning">Warning</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-lg btn-light">Light</button>
</div>
<div class="col-lg-2 col-md-4">
<button type="button" class="btn btn-block btn-lg btn-dark">Dark</button>
</div>
</div>
Button with icon
Use a classes btn btn-success
& i class ="fa fa-heart"
to quickly create a General btn.
Group buttons
Wrap a series of buttons with .btn
in .btn-group
Button toolbar pagination
Wrap a series of buttons with .btn
in .btn-group
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-secondary">Left</button>
<button type="button" class="btn btn-secondary">Middle</button>
<button type="button" class="btn btn-secondary">Right</button>
</div>
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-info"><i class="fa fa-align-left"></i></button>
<button type="button" class="btn btn-info"><i class="fa fa-align-justify"></i></button>
<button type="button" class="btn btn-info"><i class="fa fa-align-right"></i></button>
</div>
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-success"><i class="fa fa-fast-backward"></i></button>
<button type="button" class="btn btn-success"><i class="fa fa-play"></i></button>
<button type="button" class="btn btn-success"><i class="fa fa-fast-forward"></i></button>
</div>
<div class="btn-toolbar" role="toolbar" aria-label="Toolbar with button groups">
<div class="btn-group mr-2" role="group" aria-label="First group">
<button type="button" class="btn btn-secondary disabled">1</button>
<button type="button" class="btn btn-info">2</button>
<button type="button" class="btn btn-secondary">3</button>
<button type="button" class="btn btn-secondary">4</button>
</div>
<div class="btn-group mr-2" role="group" aria-label="Second group">
<button type="button" class="btn btn-secondary">5</button>
<button type="button" class="btn btn-secondary">6</button>
<button type="button" class="btn btn-secondary">7</button>
</div>
<div class="btn-group" role="group" aria-label="Third group">
<button type="button" class="btn btn-secondary">8</button>
</div>
</div>
Group buttons sizing
Wrap a series of buttons with .btn
in .btn-group
Nesting
creat with below code
<div class="btn-group btn-group-lg" role="group" aria-label="Basic example">
<button type="button" class="btn btn-secondary">Left</button>
<button type="button" class="btn btn-secondary">Middle</button>
<button type="button" class="btn btn-secondary">Right</button>
</div>
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-info"><i class="fa fa-align-left"></i></button>
<button type="button" class="btn btn-info"><i class="fa fa-align-justify"></i></button>
<button type="button" class="btn btn-info"><i class="fa fa-align-right"></i></button>
</div>
<div class="btn-group btn-group-sm" role="group" aria-label="Basic example">
<button type="button" class="btn btn-success"><i class="fa fa-fast-backward"></i></button>
<button type="button" class="btn btn-success"><i class="fa fa-play"></i></button>
<button type="button" class="btn btn-success"><i class="fa fa-fast-forward"></i></button>
</div>
<div class="btn-group" role="group" aria-label="Button group with nested dropdown">
<button type="button" class="btn btn-secondary">1</button>
<button type="button" class="btn btn-secondary">2</button>
<div class="btn-group" role="group">
<button id="btnGroupDrop1" type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Dropdown
</button>
<div class="dropdown-menu" aria-labelledby="btnGroupDrop1">
<a class="dropdown-item" href="javascript:void(0)">Dropdown link</a>
<a class="dropdown-item" href="javascript:void(0)">Dropdown link</a>
</div>
</div>
</div>