Split button

The call to action: label and arrow segment, at the brand’s size or compact.

Variants

Primary for the one call to action of a view, secondary (outline) for a second action beside it, white on a brand-blue band.

---
import SplitButton from '@aisgroup/web/components/split-button'
---
<SplitButton href="/contact/">Tell us about your line</SplitButton>
<SplitButton href="/quote/" variant="secondary">Request a quote</SplitButton>
<div style="padding: 24px; background: var(--web-band)">
  <SplitButton href="/contact/" variant="white">Tell us about your line</SplitButton>
</div>

Sizes

One size on every site: 44 px, in the header, in cards and on the page. Compact is the same size.

---
import SplitButton from '@aisgroup/web/components/split-button'
---
<SplitButton href="/contact/">Tell us about your line</SplitButton>
<SplitButton href="/contact/" size="compact">Tell us about your line</SplitButton>
<div data-brand="rosepetal">
  <SplitButton href="/contact/">Book a demo</SplitButton>
</div>

States

Without an arrow for an action that goes nowhere, such as a form's Reset. A button that cannot act yet is disabled.

---
import SplitButton from '@aisgroup/web/components/split-button'
---
<SplitButton type="reset" variant="secondary" arrow={false}>Reset</SplitButton>
<SplitButton type="submit" disabled>Send</SplitButton>

Type to search the guide.