Button - Hero

Button - Hero


Last updated: 9/20/21

Buttons - hero is the primary button defined by the primaryBoulevard gradient

Base

Use the base class pier-button-hero and nest inside pier-button-hero__content to create a default hero button

HTML markup

Sizes

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

HTML markup

Disabled

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

HTML markup

Pill

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

HTML markup

Dark

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

HTML markup

Group

Use the modifier classes pier-button-hero--cap-left will cap the left border radius to 0 pier-button-hero--cap-right will cap the right border radius to 0, pier-button-hero--cap will cap both sides to a border radius of 0

HTML markup

Block

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

HTML markup


© 2021 Gumgum, Inc.