A button by default assumes no behaviour if neither a link nor an action is associated with the button. In this case, the button is semantically no different than text, but will look like a button. No pointer events are however possible.

This is a static button

If a hyper reference is associated with a button, a anchor with a hyper-reference will be rendered. In this case, the button is semantically a link but will look like a button and reacts to pointer events.

This is button with a linkThis is disabled button with a link

If a click handler is associated with a button, a native button with a click handler will be rendered. In this case, the button is both semantically a button, looks like a button, and reacts to pointer events.

This is button with an action

A button can be disabled by use of the is-disabled attribute. This will render the user unable to interact with the button and will make the button appear transparent.

This is a disabled button

If a button is used within a context where it can be selected, such as a groups of radio buttons, the is-selected attribute can be used for visually conveying this state.

This is a selected button

Variants

Primary buttonSuccess buttonDanger buttonOutline button

Borderless

Borderless buttonBorderless button

Groups

Toolbars

Third button

Icons

This is a button with an iconThis is a button
with an icon

Badges

123This is a button with a badge

API