Skip to content

<button>

Buttons allow your users to perform actions by pressing them.

Example

xml
<button>
    <text>...</text>
</button>

Attributes

AttributeTypeRequired
widthLengthNo
heightLengthNo
paddingfloatNo
padding-topfloatNo
padding-rightfloatNo
padding-bottomfloatNo
padding-leftfloatNo
on-pressstringNo
on-press-withstringNo
on-press-maybestringNo
clipbooleanNo
stylestringNo