Buttons
Search the component library

Buttons

v1.0.0-beta.5

This component defines the standard visual style for buttons.

Usage Guidelines

Every instance of a button or button styled link should come from this component. See the sections below for information about when to each each type of button.

Features

  • Single collection of all button styles
  • Multiple button types including Primary, Default, and Link
  • Small, Default, and Large button sizes
  • Guaranteed compliance with Accessibility contrast requirements

Button types

Buttons come in several different types. Each defines a normal, active/hover, and disabled state.

Primary indicates the main call to action and should only appear once per group of buttons.

Default is your basic button, it can appear multiple times in a given group.

Link indicates reduced importance of the option. (‘Cancel’ options should typically use this style, for example.)

Each of the three button types in their various states.

Button sizes

Buttons come in small, default, medium, and large sizes. Prefer the default size but feel free to use these other sizes where they would fit better with surrounding content. Medium buttons are specifically sized to pair well with inputs.

The four button sizes.

Redlines

Sizes

Small button
Standard button
Medium button
Large button
Link style buttons
  • Maintain the same spacing around the text

Corners

All sizes use a 3px border radius.

Available Styles Reference As (How do I use this?)
Small Button [](/design/c/buttons/v1.0.0-beta.5/#rd-small-button)
Standard Button [](/design/c/buttons/v1.0.0-beta.5/#rd-standard-button)
Medium Button [](/design/c/buttons/v1.0.0-beta.5/#rd-medium-button)
Large Button [](/design/c/buttons/v1.0.0-beta.5/#rd-large-button)

Primary buttons

Normal
Hover/Active
Disabled
Focus
  • Use the browser default style
Available Styles Reference As (How do I use this?)
Primary Button [](/design/c/buttons/v1.0.0-beta.5/#rd-primary-button)

Default buttons

Normal
Hover/Active
Disabled
Focus
  • Use the browser default style
Available Styles Reference As (How do I use this?)
Default Button [](/design/c/buttons/v1.0.0-beta.5/#rd-default-button)
Normal
Hover/Active
Disabled
Focus
  • Use the browser default style
Spacing
  • Maintain the same spacing as the standard buttons
Available Styles Reference As (How do I use this?)
Link Button [](/design/c/buttons/v1.0.0-beta.5/#rd-link-button)

Changelog

1.0.0-beta.5

  • ADDED: Dependency links

1.0.0-beta.4

  • ADDED: UXD Accessibility checklist link
  • ADDED: Focus state details in the redlines section
  • ADDED: Medium button size in anticipation of inputs

1.0.0-beta.3

  • ADDED: Illustrator UI mockup file
  • FIXED: Proper link to elements SDK
  • FIXED: Images aren’t downsized

1.0.0-beta.2

  • ADDED: Sketch UI mockup file

1.0.0-beta.1

Initial version