# Metronic | Button Group
Button group examples

Hi, Sean S

##### Button Group

Actions
Metronic extends `Bootstrap Button-Group` with a variety of options to provide unique looking button groups that match Metronic's design standards.
For more info on the original Bootstrap Button-Group please visit the official Bootstrap Documentation.

### Basic Example

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-primary">Left</button>
                                    <button type="button" class="btn btn-primary">Middle</button>
                                    <button type="button" class="btn btn-primary">Right</button>
                                </div>
                                <div class="btn-group" role="group" aria-label="Basic example">
                                    <button type="button" class="btn btn-success">Left</button>
                                    <button type="button" class="btn btn-success">Middle</button>
                                    <button type="button" class="btn btn-success">Right</button>
                                </div>
                                <div class="btn-group" role="group" aria-label="Basic example">
                                    <button type="button" class="btn btn-primary">Left</button>
                                    <button type="button" class="btn btn-primary">Middle</button>
                                    <button type="button" class="btn btn-primary">Right</button>
                                </div>

### Sizing

Add `.btn-group-*` to each `.btn-group`, including each one when nesting multiple groups for different sizes.

                            <div class="btn-group btn-group-lg" role="group" aria-label="Large button group">
                                <button type="button" class="btn btn-outline-secondary">Left</button>
                                <button type="button" class="btn btn-outline-secondary">Middle</button>
                                <button type="button" class="btn btn-outline-secondary">Right</button>
                            </div>
                            <div class="btn-group btn-group-lg" role="group" aria-label="Large button group">
                                <button type="button" class="btn btn-outline-secondary">Left</button>
                                <button type="button" class="btn btn-outline-secondary">Middle</button>
                                <button type="button" class="btn btn-outline-secondary">Right</button>
                            </div>
                            <div class="btn-group btn-group-lg" role="group" aria-label="Large button group">
                                <button type="button" class="btn btn-outline-secondary">Left</button>
                                <button type="button" class="btn btn-outline-secondary">Middle</button>
                                <button type="button" class="btn btn-outline-secondary">Right</button>
                            </div>

### Vertical Variation

Add `btn-group-vertical` to vertically stack buttons.

                            <div class="btn-group-vertical" role="group" aria-label="Vertical button group">
                                <button type="button" class="btn btn-outline-secondary">Button</button>
                                <button type="button" class="btn btn-outline-secondary">Button</button>
                                <button type="button" class="btn btn-outline-secondary">Button</button>
                            </div>

Make a set of buttons appear vertically with a dropdown menu.

                            <div class="btn-group-vertical" role="group" aria-label="Vertical button group">
                                <button type="button" class="btn btn-outline-secondary">Button</button>
                                <button type="button" class="btn btn-outline-secondary">Button</button>
                                <div class="btn-group" role="group">
                                    <button id="btnGroupVerticalDrop1" type="button" class="btn btn-outline-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                        Dropdown
                                    </button>
                                    <div class="dropdown-menu" aria-labelledby="btnGroupVerticalDrop1">
                                        <a class="dropdown-item" href="#">Dropdown link</a>
                                        <a class="dropdown-item" href="#">Dropdown link</a>
                                    </div>
                                 </div>
                                 <button type="button" class="btn btn-outline-secondary">Button</button>
                                 <button type="button" class="btn btn-outline-secondary">Button</button>
                            </div>

### Nesting

Place a `.btn-group` within another `.btn-group` when you want nested dropdown menus mixed with a series of buttons.

                            <div class="btn-group" role="group" aria-label="Button group with nested dropdown">
                                <button type="button" class="btn btn-primary font-weight-bold">1</button>
                                <button type="button" class="btn btn-success font-weight-bold">2</button>
                                <button type="button" class="btn btn-danger font-weight-bold">3</button>
                                <button type="button" class="btn btn-warning font-weight-bold">4</button>
                                <button type="button" class="btn btn-warning font-weight-bold">5</button>
                                <button type="button" class="btn btn-warning font-weight-bold">6</button>

                                <div class="btn-group" role="group">
                                    <button id="btnGroupDrop1" type="button" class="btn btn-dark font-weight-bold 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="#">Dropdown link</a>
                                        <a class="dropdown-item" href="#">Dropdown link</a>
                                    </div>
                                </div>
                            </div>

### Buttons Toolbar

Combine sets of button groups into button toolbars for more complex components. Use utility classes to set the appropriate spacing and sizes.

                            <div class="btn-group" role="group" aria-label="Basic example">
                                <button type="button" class="btn btn-primary">Left</button>
                                <button type="button" class="btn btn-primary">Middle</button>
                                <button type="button" class="btn btn-primary">Right</button>
                            </div>

Use sets of button groups with icons.

                            <div class="btn-toolbar" role="toolbar" aria-label="...">
                                <div class="btn-group mr-2" role="group" aria-label="...">
                                    <button type="button" class="btn btn-outline-secondary btn-icon"><i class="la la-file-text-o"></i></button>
                                    <button type="button" class="btn btn-outline-secondary btn-icon"><i class="la la-bold"></i></button>
                                    <button type="button" class="btn btn-outline-secondary btn-icon"><i class="la la-paperclip"></i></button>
                                </div>
                                <div class="btn-group mr-2" role="group" aria-label="...">
                                    <button type="button" class="btn btn-outline-secondary btn-icon"><i class="la la-floppy-o"></i></button>
                                    <button type="button" class="btn btn-outline-secondary btn-icon"><i class="la la-files-o"></i></button>
                                    <button type="button" class="btn btn-outline-secondary btn-icon"><i class="la la-header"></i></button>
                                </div>
                                <div class="btn-group" role="group" aria-label="...">
                                    <button type="button" class="btn btn-outline-secondary btn-icon"><i class="la la-scissors"></i></button>
                                    <button type="button" class="btn btn-outline-secondary btn-icon"><i class="la la-unlink"></i></button>
                                    <button type="button" class="btn btn-outline-secondary btn-icon"><i class="la la-italic"></i></button>
                                </div>
                            </div>

Mix input groups with button groups in your toolbars. Use utility classes to set the appropriate spacing and sizes.

@
@

                            <div class="btn-toolbar mb-3" 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-outline-secondary btn-icon"><i class="la la-file-text-o"></i></button>
                                    <button type="button" class="btn btn-outline-secondary btn-icon"><i class="la la-floppy-o"></i></button>
                                    <button type="button" class="btn btn-outline-secondary btn-icon"><i class="la la-header"></i></button>
                                    <button type="button" class="btn btn-outline-secondary btn-icon"><i class="la la-italic"></i></button>
                                </div>
                                <div class="input-group">
                                    <div class="input-group-prepend"><span class="input-group-text" id="btnGroupAddon">@</span></div>
                                    <input type="text" class="form-control" placeholder="Input group example" aria-describedby="btnGroupAddon"/>
                                </div>
                            </div>

                            <div class="btn-toolbar justify-content-between" role="toolbar" aria-label="Toolbar with button groups">
                                <div class="btn-group" role="group" aria-label="First group">
                                    <button type="button" class="btn btn-primary  btn-icon"><i class="la la-file-text-o"></i></button>
                                    <button type="button" class="btn btn-success btn-icon"><i class="la la-paperclip"></i></button>
                                    <button type="button" class="btn btn-warning btn-icon"><i class="la la-files-o"></i></button>
                                    <button type="button" class="btn btn-info btn-icon"><i class="la la-scissors"></i></button>
                                </div>
                                <div class="input-group">
                                    <div class="input-group-prepend"><span class="input-group-text" id="btnGroupAddon2">@</span></div>
                                    <input type="text" class="form-control" placeholder="Input group example" aria-describedby="btnGroupAddon2"/>
                                </div>
                            </div>

### User Profile 12 messages

James Jones
Application Developer
jm@softplus.com Sign Out
My Profile
Account settings and more update
My Messages
Inbox and tasks
My Activities
Logs and notifications
My Tasks
latest tasks and projects

##### Recent Notifications

Another purpose persuade Due in 2 Days
+28%
Would be to people Due in 2 Days
+50%
Purpose would be to persuade Due in 2 Days
-27%
The best product Due in 2 Days
+8%

#### Shopping Cart

iBlender The best kitchen gadget in 2020
$ 350 for 5
SmartCleaner Smart tool for cooking
$ 650 for 4
CameraMax Professional camera for edge cutting shots
$ 150 for 3
4D Printer Manufactoring unique objects
$ 1450 for 7
MotionWire Perfect animation tool
$ 650 for 7

##### System Messages

Top Authors Most Successful Fellas
+82$
Popular Authors Most Successful Fellas
+280$
New Users Most Successful Fellas
+4500$
Active Customers Most Successful Fellas
+4500$
Bestseller Theme Most Successful Fellas
+4500$

##### Notifications

Another purpose persuade Due in 2 Days
+28%
Would be to people Due in 2 Days
+50%
Purpose would be to persuade Due in 2 Days
-27%
The best product Due in 2 Days
+8%
5 new user generated report
Reports based on sales
2 new items submited
by Grog John
79 PSD files generated
Reports based on sales
$2900 worth producucts sold
Total 234 items
4.5h-avarage response time
Fostest is Barry
3 Defence alerts
40% less alerts thar last week
Avarage 4 blog posts per author
Most posted 12 time
16 authors joined last week
9 photodrapehrs, 7 designer
2 new items have been submited
by Grog John
2.8 GB-total downloads size
Mostly PSD end AL concepts
$2900 worth producucts sold
Total 234 items
7 new user generated report
Reports based on sales
4.5h-avarage response time
Fostest is Barry

##### Customer Care

Enable Notifications:
Enable Case Tracking:
Support Portal:

##### Reports

Generate Reports:
Enable Report Export:
Allow Data Collection:

##### Memebers

Enable Member singup:
Allow User Feedbacks:
Enable Customer Portal:
Matt Pears
Active
Matt Pears 2 Hours
How likely are you to recommend our company to your friends and family?
3 minutes You
Hey there, we’re just writing to let you know that you’ve been subscribed to a repository on GitHub.
Matt Pears 40 seconds
Ok, Understood!
Just now You
You’ll receive notifications for all issues, pull requests!
Matt Pears 40 seconds
You can unwatch this repository immediately by clicking here: https://github.com
Just now You
Discover what students who viewed Learn Figma - UI/UX Design. Essential Training also viewed
Matt Pears 40 seconds
Most purchased Business courses during this sale!
Just now You
Company BBQ to celebrate the last quater achievements and goals. Food and drinks provided

#### Select A Demo

##### Demo 1

Default RTL Version

##### Demo 2

Default RTL Version

##### Demo 3

Default RTL Version

##### Demo 4

Default RTL Version

##### Demo 5

Default RTL Version

##### Demo 6

Default RTL Version

##### Demo 7

Default RTL Version

##### Demo 8

Default RTL Version

##### Demo 9

Default RTL Version

##### Demo 10

Default RTL Version

##### Demo 11

Default RTL Version

##### Demo 12

Default RTL Version

##### Demo 13

Default RTL Version

##### Demo 14

Coming soon

##### Demo 15

Coming soon

##### Demo 16

Coming soon

##### Demo 17

Coming soon

##### Demo 18

Coming soon

##### Demo 19

Coming soon

##### Demo 20

Coming soon

##### Demo 21

Coming soon

##### Demo 22

Coming soon

##### Demo 23

Coming soon

##### Demo 24

Coming soon

##### Demo 25

Coming soon

##### Demo 26

Coming soon

##### Demo 27

Coming soon

##### Demo 28

Coming soon

##### Demo 29

Coming soon

##### Demo 30

Coming soon