Button
A button or link with a label.

What it is for
A call-to-action button or text link, in primary, secondary, outline or link style, in three sizes.
Where you can use it
On any page, template, saved section, header or footer.
In the editor, open the Add tab of the left panel and drag it into a column. Its type is basic.button, version 1.
Options
Content tab
| Option | Key | Allowed values | Default |
|---|---|---|---|
| Label | label | Text, up to 100 characters. One value per language. | “Button” |
| Link | link | A link to a page, product, collection, category, a search, or a web address. | Empty |
| Open in a new tab | newTab | On or off. | Off |
| Link relationship | rel | None (none), nofollow (nofollow), sponsored (sponsored), ugc (ugc), nofollow + sponsored (nofollow-sponsored), nofollow + ugc (nofollow-ugc), sponsored + ugc (sponsored-ugc), nofollow + sponsored + ugc (nofollow-sponsored-ugc). | None (none) |
Style tab
| Option | Key | Allowed values | Default |
|---|---|---|---|
| Style | style | Primary (primary), Secondary (secondary), Outline (outline), Link (link). | Primary (primary) |
| Size | size | S (s), M (m), L (l). | M (m) |
| Alignment | align | Left, center, right or justify. | left |
| Full width | fullWidth | On or off. | Off |
Every component also has the common options: Hide, Anchor, Space above, Space below, Entrance animation and Entrance delay.
Responsive behaviour
Every option can be set again for tablet (768 to 1024 px) and phone (767 px and below): switch the device at the top of the editor and change it there. Tablet starts from the desktop value and phone from the tablet value, so you only set what differs.
Alignment and full width can be set differently on tablet and phone, for example a full-width button on phones only.
SEO and accessibility
It is an a tag with the link as its href, in the page HTML on the server, so search engines can follow it. With no link set it has no href and does nothing. "Open in a new tab" adds target _blank and rel noopener. "Link relationship" adds nofollow, sponsored, ugc or a combination to rel; both settings apply only when a link is set.
With an AI agent
An agent adds it with add_widget and changes its options with update_node, using the keys above. See the MCP tool reference.
{
"type": "basic.button",
"v": 1,
"props": {}
} @usethrottle/builder-schema 0.4.2 and @usethrottle/storefront-react 0.4.5.