.button
element
(.b)
The .button
action Creates a clickable button that can trigger actions or navigate. It belongs to the buttons category within the ui area.
Action Syntax
.button "text"
A quoted text string
.button "text" [file]
A quoted text string followed by A file reference
.button !set:icon "text"
An icon in format !set:name followed by A quoted text string
.button !set:icon "text" [file]
An icon in format !set:name followed by A quoted text string followed by A file reference
.button $variable
A variable name starting with $
.button [file]
A file reference
.button !set:icon [file]
An icon in format !set:name followed by A file reference
Valid sizes
small
medium
large
extra
huge
Modifiers
click
The .button
action supports the click
modifier.
tiptext
The .button
action supports the tiptext
modifier.
hover-over
The .button
action supports the hover-over
modifier.
slide-up
The .button
action supports the slide-up
modifier.
slide-down
The .button
action supports the slide-down
modifier.
slide-left
The .button
action supports the slide-left
modifier.
slide-right
The .button
action supports the slide-right
modifier.
Tags
disabled
makes the button non-clickable and grayed out
Examples
// Basic Usage
.button "Click Me"
// Using Variables
// Display dynamic content from variables
.button $name
Action code: 2435407797
Version: 0.6.4-48
Last updated: 2025-06-13