Skip to Content

AI Button

The AI button is a representative call to action for AI inputs and interactions, making it easy for users to target and initiate use of AI within ActiveCampaign.

Overview

AI button overview

Resources

Changelog

Loading...

Source code

Loading...

Loading...

Storybook

Loading...

Loading...

Variations

AI primary button

AI primary button

AI secondary button

AI secondary button

AI gradient button

Usage

Best practices

  • Be consistent with button placement. In button groupings and modals, the primary button should be the furthest to the right.
  • While our buttons do have a disabled state, disabling a button should be avoided as much as possible due to lack of keyboard focus and low contrast. Instead of disabling the button, consider showing a banner or helper text to communicate to the user the needed information.

Sizes

Buttons come in two sizes, the default medium size and a small size. Which size of the button to use is based on both the importance of the action as well as the context of where it is placed.

  • Medium buttons are used for all primary page actions
  • Small buttons are best suited for supplementary page actions
  • Small buttons can also be used in the headers of other components where height is limited
  • If in groups, button sizes should not be mixed

Content guidelines

Button labels should be clearly and consisely written (no more than 3 words), in sentence case and with no punctuation at the end. Avoid unneccessary or ambiguous words, but include articles like “a” and “the,” as they provide clarity especially in translating. Use inclusive language that doesn’t discriminate from those who use assistive technology.

✅ DO

* Import my brand kit * Generate camapaign * Generate with AI

🚫 DON’T

* Import Brand Kit * Generate Campaign * Use AI

Accessibility

Keyboard support

  • Move focus to a button using the tab key
  • When the button has keyboard focus, use the space or enter key to perform action
Last updated on