Skip to content
MyAppBuilder
StableBasicVersion 1

Icon Button

Overview

A compact button that shows only an icon, with a hidden label for screen readers and a hover hint. Ideal for toolbars, table rows and headers where space is tight.

When to use

  • "Edit" pencil in a record header.
  • "Refresh" icon next to a table title.
  • "More" (three dots) that opens a Popover or Drawer.
  • "Close" icon inside a custom panel.

When not to use

  • The action is important or unfamiliar: use a Button with text — icons alone are often misunderstood.
  • You need a text link: use Link.

Quick start

  1. Drag Icon Button where it belongs (it takes one grid column).
  2. Pick an Icon and type an Accessible label describing the action ("Edit customer").
  3. Choose a Style (ghost by default).
  4. Actions tab → On Click → add actions.

Properties

Iconicon

The icon to show. Choose a widely recognised one (Pencil, Trash2, RefreshCw, Plus).

Default: Plus

Accessible labeltext

Not shown, but read by screen readers and used as the hover hint. Always fill it in.

Default: Add

Example: Delete invoice

Styleselect

Visual style.

Options: primary, secondary, outline, ghost, danger

Default: ghost

Events

On click
Runs the configured actions; the button shows a spinner while they run.

Actions

Open the Actions tab in the inspector, pick an event and add actions such as Go to page, Create record or Show message. Actions run in order; data-changing actions run on the server with the signed-in user's permissions.

Responsive behavior

Fixed one-column width; on mobile it stays small. Keep tap targets at least 40 px by choosing the md size (default).

Permissions

Use the Permissions tab to choose which app roles receive this component; the server leaves it out for everyone else. This hides the component, not the data it shows — record access is set under Users → Roles & permissions.

Accessibility

  • The Accessible label is the only name assistive technology gets — make it specific.

Examples

Row action

Example
Icon: Pencil
Accessible label: Edit customer
Style: ghost
On Click: Open drawer → Edit customer (params: id = {{record.id}})

Common patterns

  • Group several icon buttons in a Row at the end of a Header.
  • Use the danger style only for destructive icons (Trash2).

Limitations

  • No visible text, size or full-width option — use Button when you need them.
  • Cannot submit a form; use Button with Submits the surrounding form.

Related

Was this helpful?