CTA Group

As the name suggests, Call-to-Action (CTA) Groups allow you to add up to three (3) CTA buttons to forms or dialog-type components.

Status

The status of the component

Ready for use!

Figma component

A link to the Figma library where the component lives.

Repository

A link to the repo where the component lives.

Documentation link

A connected documentation page in Supernova

 

Usage Guidelines


CTA Group VS button toolbar

Call-to-Action (CTA) Groups are mostly used for submit-type actions, like sending a form or continuing to the next step of a process; a toolbar is mostly used for grouping actions that will take effect immediately, like chat-rich text options or for displaying the actions within a table.

Do
Form with CTA's stating 'save and continue, save, and exit'.

Use CTA Groups for submit-type actions in forms or dialog components.

Don't
Table toolbar including CTA's

Avoid using CTA Groups as toolbars.

Button purposes

The CTA group can contain up to 3 buttons, a primary, a secondary, and a dismissal button, you’ll find the purpose of each one.

Primary button

The primary button should be used for the main action of the form or dialog, it should be used for moving along to the next step.

primary button

primary button

Secondary button

If the necessity of a secondary action arises a secondary button can be added, a secondary button shouldn’t be used for moving backward or forwards, but for actions that affect the entire form, like “Saving a draft” if you need more than 1 secondary actions, consider using a secondary multi-button.

secondary button

secondary button

Dismissal button

Lastly, the dismissal button should be used for moving backward, a good example is a “Cancel” or “Going Back” button.

dismissal button

dismissal button

Dangerous actions

Whenever a dangerous action is going to take place, like the deletion of something. We should always change the primary button for a DANGER one. Ideally, every dangerous action should be located within a confirmation modal that explains the consequences of the dangerous actions in detail.

dangerous actions

dangerous actions

Multiple actions

We recommend using action buttons instead of adding extra buttons if you need more than two actions.

Caution
Three buttons stating 'save and exit page, save draft, and exit'.

Although the usage of action buttons for displaying multiple primary/secondary actions is allowed, the primary actions should be somewhat related between them like, "Save and exit" and "Save an continue"

Don't
Three CTA buttons displayed and a fourth secondary button stating 'go back to step 1'

Avoid adding buttons next to the CTA Group for displaying more than 3 actions.

Alignment

The CTA group can be aligned to the left or the right.

Start

The buttons should be aligned to the left when their parent form IS NOT in a dialog-type component.

Left alignment of the CTA Group

Left alignment of the CTA Group

End

The buttons should be aligned to the right when their parent form IS a dialog-type component like modals, popovers, or toasts.

 

Right alignment of the CTA Group

Right alignment of the CTA Group

Content


Icons

We strongly recommend not using icons for any actions. This is to ensure the user understands each action correctly.

Do
Form with three text-only CTA's

Avoid icons to ensure a legible stack of actions.

Don't
Form with three CTA's, two buttons with icon + text

We strongly recommend not using icons in any of the buttons to avoid misunderstandings.