Skip to Content
StyleguideComponentsButtons & actions

Buttons & actions

Every way a Buildpad screen asks the user to act. A Button with no color is the ink CTA — the one primary action per view — while color="primary" is the ember brand CTA, reserved for brand moments. Everything else steps down through default, light, subtle and transparent.

Variants

From the ink CTA down to text-only; hover each one to see its state.

Colours

The brand and semantic scales across the three variants that carry colour.

Sizes

Five regular sizes and five compact ones for dense UIs.

Icons and sections

leftSection and rightSection take any node; Tabler icons at 16px fit every size from sm up.

States

Loading, disabled (with and without an explained reason) and full width.

Button groups

Button.Group joins buttons into one control: segmented choices, split buttons and steppers.

ActionIcon

Icon-only buttons for toolbars, table rows and headers. They follow the ember primaryColor unless given a color.

CloseButton

The standard dismiss control for panels, modals, drawers and removable filters.

CopyButton

A render-prop helper around the clipboard; pair it with a Tooltip or a label swap for feedback.

Toolbar

How the pieces combine at the top of a record page.

Destructive actions

Deleting is always confirmed, and the confirming button names what is deleted.

Last updated on