ATOMS

Buttons

Buttons have to clearly communicate the behaviour after the user clicks on them. Mostly buttons contain a short text which can be supported by an icon.
For Developers: The button.twig component itself is refactored into a standalone reusable component, however, the class names and file names are not yet refactored to ABEM naming and need to be updated.

Sketch name:

Atoms/Button/Default

Tempalte Details:

Name:

Button

Documentation:

https://www.contorion.de/designsystem/atoms/button

Template:

@application/components/button.twig


Button colors

Ready
The component documented here is fully refactored and can freely be used in shop. Any other implementation of this components should be replaced with the one documented here.

Primary Button

Fluid:

Responsive:

The primary buttons are used for primary links and actions on a page. The primary class can be applied to button tag.

Sketch-Component: Atoms/Button/Default/Primary


Grey Button

Fluid:

Responsive:

The grey buttons are used mostly for canceling some action. The grey class can be applied to button tag.

Sketch-Component: Atoms/Button/Default/Grey


Transparent Button

Fluid:

Responsive:

Summary of all the button color variations we have


Inverted buttons

Ready
The component documented here is fully refactored and can freely be used in shop. Any other implementation of this components should be replaced with the one documented here.

Fluid:

Responsive:

The inverted buttons are used for secondary links and actions on a page. The inverted class also can be applied to button tag.

Sketch-Component: Atoms/Button/Default/Secondary


Disabled buttons

Ready
The component documented here is fully refactored and can freely be used in shop. Any other implementation of this components should be replaced with the one documented here.

Fluid:

Responsive:

The disabled buttons are used for actions that are currently not available to the user.

Sketch-Component: Atoms/Button/Default/Disabled


Button-links

Currently, we are not using button-links. The links, sometimes with icon attached, are used instead.


Play buttons

Ready
The component documented here is fully refactored and can freely be used in shop. Any other implementation of this components should be replaced with the one documented here.

Fluid:

Responsive:

The play button is used for actions that are starting a video.

Sketch-Component: Atoms/Button/Video/BTN_Video_DE_AT


Mobile header buttons

Fluid:

Responsive:

Mobile header buttons will be used in the new mobile navigation.


Colors

ColorExplanationUsageSCSS
#5DA422Use to show the active state of an itemAvailable, Done, Approved, Added.bg--success
#1D99FAArticles in workIn progress, changed, open, not started.bg--theme
#F3F3F3NavigationNavigation.bg--grey--light
#999999Completion of a statusCompleted, finished-
#666666Used for generic statusInformation-
#C50E12Use for generic statusInformation.bg--error

Button sizes

Fluid:

Responsive:

3 sizes are currently used for the buttons: large, regular and small ones.


Button usage

TypeUsage
PrimaryPrimary button indicate a specific action and highlight this action.
SecondaryThey are used to indicate a secondary action that complements a primary action.
Button with IconThis option is used to draw more attention to a button or to better communicate what the button does. Icons can be paired with text or used alone.
Disabled ButtonThis button is used for actions that are currently not available to the user. It should be clearly communicated why the button is deactivated and how the user can activate the button.
Link ButtonUsed for tertiary links and destructive actions such as "Cancel" in addition to the primary button. Currently, not used.
Small ButtonThis button is used when there is not enough vertical space for a normal or large button e.g. in lists or tables. Small buttons are not used for primary actions.
Large ButtonUsed in marketing campaigns and in the header to draw attention to actions as a call-to-action.

Rules

General

  • ● Too many buttons should not be used on one page.
  • ● The target value is 1-2 buttons as call-to-action per page. Similar elements that might be considered as button should be avoided.
  • ● Buttons should not be used as navigation elements, links should be used instead, since they direct the user to a new page and are not assigned to any action.

Labels

  • ● Use upper and lower case letters.
  • ● Labels should be kept as short as possible.
  • ● Use "trigger words" that are known to the user and are quickly understandable which interaction is triggered by the button, e.g. "Save and continue", "Download" or "Register".
  • ● The first word of the button label should be a verb.
  • ● If a button contains an icon, it should also contain accompanying text that describes the action.