Button

Creates the theme-approved action link or disabled button.

Use this page as both implementation documentation and a visual regression fixture. Compare the editor canvas with the published page at every responsive breakpoint.


Basic example

Primary action

Option examples

Colors

Default and every semantic button color.

Default Primary Secondary Success Warning Alert

Sizes

Tiny, small, default, and large buttons.

Tiny Small Default Large

Solid style

The solid treatment in every semantic color.

Primary Secondary Success Warning Alert

Hollow style

The hollow treatment in every semantic color.

Primary Secondary Success Warning Alert

Clear style

The clear treatment in every semantic color.

Primary Secondary Success Warning Alert

Alignment

Separate examples exercise left, center, and right alignment.

LeftCenterRight

Full width

Expanded buttons fill their available container.

Expanded button

Custom configured colors

Theme palette classes override the semantic tone without producing inline CSS.

Contrast on warning

Link states

New-tab and disabled behavior are represented in saved markup.

New tab Disabled

Available options

OptionPurpose and values
Text and URLVisible action text and destination.
StyleSolid, hollow, or clear.
ColorSemantic or configured background and text colors.
SizeTiny, small, default, or large.
AlignmentLeft, center, or right.
ExpandedFills the available width.
New tabOpens the destination in a new browser tab.
DisabledPrevents interaction and announces the state.
AdvancedHTML anchor and additional CSS classes are available when supported by the block.

Editor workflow

  • Select the outer component to configure system-wide behavior in the block sidebar.
  • Select a nested item to configure content-specific behavior.
  • Use List View to add, reorder, duplicate, or remove nested items.
  • Preview desktop, tablet, and mobile widths before publishing.

Verification checklist

  • Editor and front-end appearance match.
  • Keyboard navigation and visible focus states work.
  • Text, labels, and controls remain readable at 200% zoom.
  • Small, medium, and large layouts behave as documented.
  • Saved markup contains no unexpected inline styling or invalid blocks.

Additional button options

Corner shapes

Square, soft 5px corners, and fully rounded buttons.

Square Soft (5px) Rounded

Disabled buttons

Disabled controls cannot be clicked or reached by keyboard tabbing.

Disabled solid Disabled hollow Disabled clear

Dropdown button

Click the button to open its matching Dropdown Panel block.

Button action and shape settings

OptionPurpose and values
Button actionLink or dropdown trigger.
Dropdown panel IDMust match the ID of a Dropdown Panel block.
ShapeSquare, soft 5px corners, or fully rounded.
DisabledRemoves normal interaction and keyboard tabbing.