Buttons (Pill)
An pill button informs users of medium to lower emphasis actions
Variants
/Pill%20Buttons%20Variants.png)
Variant | Usage |
---|---|
Icon on right |
Primarily used to navigate users to an intended action i.e. to guide users to Account Details dashboard |
Icon on left |
Used to emphasise an action with a coloured icon i.e. promotion campaign |
Icon on left & right |
Used to emphasise an action with a coloured icon and an navigation arrow |
Disabled |
Not available for use due to insufficient information or other business rules |
Anatomy
All pill button types share the same anatomy and are made up of the following:
- Primary Icon: A visual shortcut for navigation
- Secondary Icon: A visual shortcut for emphasis
- Container: Used as a container for the icon
- Text: Descriptor of the destination or call-to-action
/Pill%20Buttons%20Anatomy.png)
Size
- Pill button container has a responsive width with a fixed height of 44px.
- Secondary icon should have a bounding box of 24px.
- Primary Icon should always be an arrow and remains at 12px.
/Pill%20Buttons%20Size.png)
Text Style
Pill button has a text size of 12px and uses Title case. Use “ Label or Note” text style on Figma.
/Pill%20Buttons%20Text.png)
Dos and Don'ts
/Pill%20Buttons%20Do.png)
Succinct call-to-action
/Pill%20Buttons%20Dont.png)
Do not use Pill Buttons for primary call-to-actions