> For the complete documentation index, see [llms.txt](https://thebuildex.gitbook.io/enoria/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thebuildex.gitbook.io/enoria/guide/widgets/textbutton.md).

# TextButton

A regular Roblox GUI TextButton.

## Example

```lua
e.TextButton("Click me!", {
    OnClick = function()
        print("You clicked me.")
    end)
})
```
