# Button
The button classification is given to the following types:
Formulate determines what becomes the text of the button in the following order:
- The default slot passed in
- The valueprop
- The labelprop
- The nameprop
Note
Both types output the same markup except that submit includes type="submit"
on the button element itself which is necessary to trigger form submissions.
# Button
<FormulateInput
  type="button"
  label="Buy it now"
/>
You may also use the default slot to pass more complex content into the button.
<FormulateInput
  type="button"
  disabled
>
  Loading <span class="loader" />
</FormulateInput>
Important
There is no model binding or label element for button input types.
# Submit
Submit elements have the same syntax as buttons, but they are able to submit
forms (including FormulateForm wrappers).
<FormulateForm
  @submit="showAlert"
>
  <FormulateInput
    type="submit"
    name="Submit this form!"
  />
</FormulateForm>
# Slot Component 2.5
The button input has one slot (#default) with a single Slot Component:
| Slot component name | Description | 
|---|---|
| buttonContent | This slot component renders in the #defaultslot and is passed the input context object. | 
