Throttle Builder · Components · Basic

Button

A button or link with a label.

The Button component in the Components library, with its description and settings
The Button component in the Components library, with its description and settings

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

OptionKeyAllowed valuesDefault
LabellabelText, up to 100 characters. One value per language.“Button”
LinklinkA link to a page, product, collection, category, a search, or a web address.Empty
Open in a new tabnewTabOn or off.Off
Link relationshiprelNone (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

OptionKeyAllowed valuesDefault
StylestylePrimary (primary), Secondary (secondary), Outline (outline), Link (link).Primary (primary)
SizesizeS (s), M (m), L (l).M (m)
AlignmentalignLeft, center, right or justify.left
Full widthfullWidthOn 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.

The widget an agent adds
{
  "type": "basic.button",
  "v": 1,
  "props": {}
}
Generated from the code
The option tables on this page are generated from the component definitions in @usethrottle/builder-schema 0.4.2 and @usethrottle/storefront-react 0.4.5.