Jumpstart docs logo Back to the app

Buttons

Button Styles

Buttons come with a variety of different styles out of the box. For example: btn btn-primary

Buttons can also be applied to anchor tags.

Sizes

Buttons come in a variety of sizes from btn-xs, btn-sm, btn-lg to btn-xl.

Icon Buttons

See the Icons documentation.

Button Icon Positions

You can also have icons on left sides, both sides or right side of the button text. Just place the icon(s) accordingly in the markup.

Icon Only Buttons

Block Buttons

Buttons are inline-flex by default. To make them full-width, you can add btn-block.

Outlined Buttons

Outlined buttons can be used by adding btn-outline.

Disabled

Buttons can be disabled by adding the disabled attribute to the button tag.

Buttons can optionally display a spinner svg by using the button_text helper method.