# ``RealityUI/RUIButton``

A control that executes your custom code in response to user interactions.

## Overview

When you tap a button, the button performs any actions attached to it.

## Topics

### Creating a Button

- ``init()``
- ``init(button:rui:touchUpInside:)``
- ``init(button:RUI:updateCallback:)``

### Button Action Callback

- ``touchUpInside``

### Customising a Button

- ``buttonColor``
- ``baseColor``
- ``compress``
- ``size``
- ``cornerRadius``
- ``padding``
- ``button``
- ``ButtonComponent``
- ``HasButton``
