Primary
The main conversion or next step.
View code
<!-- Include the shared stylesheet once per page. -->
<link rel="stylesheet" href="/brand/elements.css">
<div class="ao-elements">
<a class="brand-button brand-button-primary" href="https://www.airops.com/book-a-call">Work with us</a>
</div>View prompt
Use the AirOps primary variant from /elements#buttons-primary (buttons/primary). The main conversion or next step. Use the following content fields. - label (text, required). A short, verb-led action label. - target (link | action, required). A URL for navigation or an action for a button. - variant (primary | secondary | tertiary | mini, required). Match the emphasis and context of the action. - state (default | hover | focus | pressed | disabled | loading | error-recovery, optional). Pointer and keyboard states are handled by CSS. Use native disabled and aria-busy for unavailable or pending actions. - iconPlacement (left | right, optional). Place the icon before or after the visible label. Hide decorative icons from assistive technology. Give each section one primary action. Use secondary for a supporting route, and tertiary for inline or low-emphasis actions. Use an anchor for navigation and a button for an in-page action or form submission. Use Mini for compact utilities and disclosure controls such as View code. Place an optional icon before or after the text. Keep a verb-led visible label and preserve the keyboard focus indicator. Use the recovery treatment next to an error that the visitor can retry. Keep disabled controls out of the conversion path until the visitor can act. Use the variant markup and shared stylesheet /brand/elements.css from /elements/catalog.json. Replace sample copy, assets, and destinations with approved content. Check the result at narrow and wide breakpoints.
View button variations code
Disabled. Use a native disabled button for an unavailable in-page action.
<button class="brand-button brand-button-primary" type="button" disabled>Work with us</button>Loading. Mark the button busy and prevent repeat submissions until the request settles. Announce the outcome nearby.
<button class="brand-button brand-button-primary" type="button" disabled aria-busy="true"><span class="brand-button-spinner" aria-hidden="true"></span> Submitting…</button>Error recovery. After a recoverable error, offer a retry and explain what went wrong beside the button.
<button class="brand-button brand-button-primary is-error-recovery" type="button">Try again</button>Icon left
<button class="brand-button brand-button-primary" type="button"><span class="brand-button-icon" aria-hidden="true">←</span><span>Back</span></button>Icon right
<button class="brand-button brand-button-primary" type="button"><span>Work with us</span><span class="brand-button-icon" aria-hidden="true">→</span></button>
