Overview

Use when action have to be visible all the time on the screen. Both for the most prominent action in a screen for mobile, but also for customer service tools and back to top. Use sparingly!

Make sure you have room to add a new floating action button.

Edit this section, Opens in new window

Variations

Type Purpose
Default This is the standard looking floating action button
Primary Primary floating action button is used when you have several floating action buttons and you want to make it prominent.
Info This floating action button is used when you want to have a different look and feel to a prominent action button.
Edit this section, Opens in new window

Usage

Use when action have to be visible all the time on the screen

NOTE! The floating action buttons take presedence in z-index for almost all other elements, so other elements need to adhere to this.

Sizing

Floating action buttons only have one size, 64x64px.

Placement

Floating actions buttons should always be placed at the bottom right.

Stacked together

Floating actions buttons should stack with 20px between them

Edit this section, Opens in new window

Default floating action button

The default floating action button is used for simple, non-invasive global actions, like back to top or customer service contact floater.

Usage

The floating action buttons should be default be positioned in the bottom right area. If you have more action buttons, they need to interact accordingly, stacking vertically, or in rare cases, horizontally.

You can put any relevant icon inside, as long as it is 24px x 24px as a background-image.

Anatomy

Style
  1. The fill color is BE 5, LIGHTEST BEIGE
  2. The outline color is BE 1, DARK BEIGE
  3. The shadow color is BR 1, BROWN 10%

Behaviours

Interactions

Hover
Back to top
  1. When using the back to top modifier, the icon is moved up on hover, to indicate direction
Customer service
  1. The default behaviour with icons is that the icon is enlarged 120%
Focus
Style
  1. The color used for the focus ring is the direct complementary color of BL 1, BLUE
Active
Style
  1. When pressed, the button is scaled down to 90%

Modifiers

Back to top

The back to top button is used to let users easily enough scroll back to top when reading articles or very long pages. I should appear when the user has scrolled down approximately 4 pages, and disappear when user scrolls past that treshold.

Back to top
  1. Takes the user back to top

Note the text, it is recommended to have a textual representation of the back to top button.

On smaller devices, it's recommended that the back to top button is hidden, and that a tap on the global header takes users to the top.

Do not display the back to top button on smaller devices

Hide or remove the back to top button on smaller devices

Animation

When user has not scrolled yet

When user has scrolled to the point for displaying the back to top button

When user has scrolled past the point for displaying the back to top button

When user scrolls up again

Customer service

The customer service floating action button is used to initiate the customer service contact floater.

Customer service
  1. Opens up the customer service contact floater
Edit this section, Opens in new window

Primary floating action button

The primary floating action button should more or less only be used on smaller devices, to highlight the primary action on the screen.

Anatomy

Style
  1. The fill and outline color is BL 1, BLUE
  2. The shadow color is BR 1, BROWN 10%

Behaviours

Interactions

Hover
Primary
Plus
  1. The default behaviour with icons is that the icon is enlarged 120%
Focus
Style
  1. The color used for the focus ring is the direct complementary color of BL 1, BLUE
Active
Style
  1. When pressed, the button is scaled down to 90%

Modifiers

Plus

The plus floating action button is use when you want to add or create something in a screen

Plus
  1. Should add or create something
Edit this section, Opens in new window
Contact us, Opens in new window