Generic selectors

Exact matches only

Search in title

Search in content

Post Type Selectors

Sizings

Compose uses standard sizes and spacing created from increments of 8 to create consistency between UI elements, with metric values ranging from 64, 48, 32, 24, 16 and eight for easy reference.

  • Overview
  • Specs
  • Guidelines

Usage

Our sizing scales have been chosen to keep the proportions between icons, images, avatar, banners and graphic elements the same when using them.

Benefits

Integrating sizings as variables in design systems ensures consistency, scalability and maintainability, resulting in cohesive user interfaces. By standardizing measurements like margins, paddings, and element sizes, it promotes uniformity throughout the interface and simplifies adjustments. This approach also facilitates scalability and responsiveness, and streamlines maintenance.

Core sizes

We provide six predetermined sizes in our scale that range that vary from 64, 48, 32, 24, 16, eight for easy reference.

Note that not every asset should be displayed in every size. In this example, we don’t show an an X-small avatar, as its readability would be compromised.

Last Update

Sizings-Old version
Old version of the Sizings
Sizings-New version
Current version of he Sizings

  • Updated Do’s and Don’t under the Guidelines section.

Related

Switch

A switch is a versatile toggle control for switching between two states seamlessly …

Sizing tokens

Use these radius tokens to change the corner radius on elements.

TokenValue
X-Small8 pixels
Small16 pixels
Regular24 pixels
Medium32 pixels
Large48 pixels
X-Large64 pixels

Useful links

guidelines figma accent icon

Consult our Figma file to access our assets and inspect them in dev mode.

polygon-framework

This component is or will be provided by the Polygon framework. See its documentation to learn more.

This element is in line with the guidelines of the CDS (Cegid Design System). Find out more.

Polygon FW

The following variables are from Polygon Framework. They are optimised to work from pixels to rem values and ordered from the larger to smaller sizes.

Polygon VariablePX to REM
$size-11
$size-22
$size-44
$size-88
$size-1212
$size-1616
$size-2020
$size-2424
$size-2828
$size-3232
$size-3636
$size-4040
$size-4444
$size-4848
$size-5252
$size-5656
$size-6060

Get all Polygon SCSS styles here.

The shape of an element will have a direct impact on the space it occupies. Make sure you adjust its size accordingly.

Use sizings other than those provided.

If you need to use values beyond 60 px, make sure they are all multiples of four.


Case Studies

Why Web Accessibility Matters - And How to Start

Why Web Accessibility Matters – And How to Start

Web accessibility is about designing inclusive digital experiences that benefit everyone, guided by four key principles and driven by the …
Writing for Everyone

Writing for Everyone: Every Word Counts in Accessibility

Writing for everyone is an essential part of any digital product. It can and does make a big difference to …

Release v1.4

Overview Compose Design has recently undergone some important updates, which means it’s time for another release note. In addition to …

Outline