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.
color, filled: the primary action on every screen. Renders --ds-cta-bg, inverts in dark mode.700 stop.--ds-brand-hero, which never inverts.Colours
The brand and semantic scales across the three variants that carry colour.
red, green, blue, yellow resolve to danger, success, info and warning; gray is the neutral scale.Sizes
Five regular sizes and five compact ones for dense UIs.
md type, so long labels stay readable at xs.md is the default.Icons and sections
leftSection and rightSection take any node; Tabler icons at 16px fit every size from sm up.
justify pins the icons to the edges.States
Loading, disabled (with and without an explained reason) and full width.
loaderProps picks the loader.data-disabled (not disabled) when the reason must be shown on hover.Button groups
Button.Group joins buttons into one control: segmented choices, split buttons and steppers.
radius="md" keeps the stacked corners even.ActionIcon
Icon-only buttons for toolbars, table rows and headers. They follow the ember primaryColor unless given a color.
primaryColor (ember). Always pass aria-label.2 / 12
CloseButton
The standard dismiss control for panels, modals, drawers and removable filters.
aria-label.Order filters
CopyButton
A render-prop helper around the clipboard; pair it with a Tooltip or a label swap for feedback.
Tooltip opened, success colour on the icon.Toolbar
How the pieces combine at the top of a record page.
Purchase orders / PO-2039
Brightline Electrical
$3,150 · due 12 Nov
default secondary, everything else behind an overflow Menu.opened, withinPortal=false). Destructive items go last, after a divider, in red.Destructive actions
Deleting is always confirmed, and the confirming button names what is deleted.
Delete PO-2039?
This removes 3 line items and cannot be undone.
default Cancel left of a filled red action that names exactly what it deletes.light red; the filled red lives only inside the confirmation.