Optional
colorColor of the label.
{ r: 1, g: 1, b: 1, a: 1 }
Optional
disabledEnable or disable the pointer events on the button
Optional
fontLabel font type.
'sans-serif'
Optional
fontLabel font size.
10
Optional
keyUinique key to identiy elments when iterating arrays
Optional
ontriggered on mouse down event
Optional
ontriggered on mouse up event
Optional
textLabel align position.
'middle-center'
Optional
textBehaviour when text reached.
'wrap'
Optional
uiTo define a background color or image
Optional
uiLayout component, to position things in the canvas
Primary content.
Optional
variantUse any of the available button style types to create a styled button.
Button Component Props