button type

The type attribute of an HTML button: submit (the default inside a form), button (does nothing by itself) or reset.

In more detail

A button with no type inside a form submits the form, which can reload the page unexpectedly. Design system buttons therefore default to type="button" and require callers to ask for submit explicitly.

Related terms

Taught in

References