Trigger queries and actions.
A button to trigger queries and other actions.
Properties
Available properties for Mobile Button. You can write JavaScript almost anywhere in Retool to manipulate or read information about components.
disabled boolean
If true
, the component will be greyed out and non-interactive, and the value cannot be modified
iconAfter IconKey
The key of an icon to display after the primary content.
iconBefore IconKey
The key of an icon to display before the primary content.
id string
The name of the component.
loading boolean
If true
, the component will render a loading indicator.
pluginType string
The component type.
size 'small' │ 'medium' │ 'large'
The size of the rendered value.
text string
The primary text content.
type 'primary' | 'secondary'
The type of button to render. Either primary
with solid background or secondary
with outline only.
width 'full' │ 'fixed'
Whether the component's width is full or fixed.