Button

A button component is used to take an action by clicking a button. This can either:

Parameters

ParameterPossible ValuesRequiredDescription
typebuttonYesThe type of component you are rendering.
idAny stringYesA unique identifier for the component.
labelAny stringYesThe text that will be rendered inside the button.
actionAction ObjectYesThis can be a Submit Action, URL Action, or Sheets Action.
styleprimary``secondary``linkNoStyles the button.Default is primary.
disabledfalse``trueNoStyles the button and prevents the action.Default is false.