For the complete documentation index, see llms.txt. This page is also available as Markdown.

Button Theme

Style the buttons your app uses, with a live preview as you change them.

Buttons come in two kinds, and you style each separately.

The Button theme tab with a live preview of primary and secondary buttons, and a Primary/Secondary switch below it

Primary

The main action on a screen — Add to cart, Checkout, Sign in.

Secondary

The quieter alternative beside it — Cancel, Continue shopping.

The preview at the top shows both as they will appear in your app, updating as you type. Use the Primary / Secondary switch below it to choose which one you are editing.

Corners and size

Button shape offers square, rounded and pill presets, plus a custom option where you set your own corner radius. Button height sets how tall the button is in pixels.

Fill, label and border

The Background, Button text and Border groups with colour, size, weight, font and border width controls
Group
What it sets

Background

The fill colour, with opacity.

Button text

Colour, size, weight and font of the label.

Border

Width and colour of the outline. Width 0 means no border.

A secondary button is usually an outline. Set its background to match your screen background, give it a border width of 1 or 2, and let the border and text carry the colour.

Click Save as draft to keep your changes.

Last updated