Elements

Buttons

Basics

LARGEVSSMALL

All buttons have bold, ALL-CAPS labels and specified minimum left and right padding.



Hierarchy

Contained buttons have a background color to provide the most emphasis. Outline buttons have no background color, and thus have less emphasis. Text buttons have no background and no outline, and thus have the least emphasis.

See Button Usage for button type rules and scenarios.



With Icons

Buttons may have an optional left or right icon. Never use two icons.




States


Contained Button States


Outline Button States


Outline Button States (Light)


Text Button States


Text Button States (Light)



SCSS

Use these modifiers with .css-className


Color

ClassProperty
.btn-primaryApplies primary button styles
.btn-secondaryApplies secondary button styles
.btn-dangerApplies primary button styles
.btn-successApplies secondary button styles
.btn-simulcastApplies simulcast button styles


Size

ClassProperty
.btn-smApplies small button styles


Type

ClassProperty
.btn-outlineOutlined Button
.btn-textonlyText-Only Button
.btn-icon-onlyIcon-Only Button
.disabled, :disabledDisabled Styles
.btn.dropdown-toggleDropdown Button
.btn-floatingFloating Button
.btn-paginationPagination Button