Button

A button component is used to trigger an action. Depending on the action type, a button can:

Buttons are submittable, meaning that when they are clicked, they will dispatch a webhook to the url specified through the relevant action. Read more about this by clicking on the different actions that can be taken above.

{  type:  "button",  id: "button-123",  label: "Submit form",  style: "secondary",  disabled: true,  action: {    type: "url",    url: "https://www.intercom.com/"  }}
ParameterPossible ValuesRequiredFunction
idAny stringYesUnique identifier for the component within this card.
labelAny stringYesThe text that will be rendered inside the button.
actionObjectYesThis can be a Submit Action, URL Action, or Sheets Action.
styleprimary (default)secondarylinkNoStyles the button in a specific preset style.
disabledfalse (default)trueNoStyles as complete and prevents further editing or interaction.

🚧 Line Breaks

Line breaks are not converted into tags in the rendered HTML, so all text will appear on a single line.

Card View

Frame View