Button - Icon

Button - Icon


Last updated: 9/20/21

Button - Icon is a button that contains an icon and no accompanying text.

Base

Use the base class pier-button-icon to create a default icon button

HTML markup

Sizes

Use the modifier classes pier-button-icon--xs, pier-button-icon--sm, pier-button-icon--md, or pier-button-icon--lg to change the size of the button-icon.

HTML markup

Disabled

Use the modifier class pier-button-icon--disabled to change the state of the icon button to disabled.

HTML markup

Pill

Use the modifier class pier-button-icon--pill to change the state of the icon button to pill.

HTML markup

Hero

Use the modifier class pier-button-icon--hero to change the state of the icon button to hero.

HTML markup

Secondary

Use the modifier class pier-button-icon--secondary to change the state of the icon button to secondary.

HTML markup

Danger

Use the modifier class pier-button-icon--danger to change the state of the icon button to danger.

HTML markup

Dark

Use the modifier class pier-button-icon--dark to change the style of the icon button for dark UI themes.

HTML markup


© 2021 Gumgum, Inc.