Skip to main content

The Button mobile component

Trigger queries and actions.

A button to trigger queries and other actions.

Button

Properties

disabled
boolean

Whether user input, interaction, or selection is disabled.

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.

hidden
boolean

Whether the component is visible.

id
string

The name of the component.

loading
boolean

Whether to display a loading indicator.

pluginType
string

The component type.

size
'small' | 'medium' | 'large'

The component size.

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.