Skip to main navigationSkip to main content
Return to Sky UI homepage

Example of using Swatches for discovering product colour options

Basic Guidelines

The static Swatches are mostly used as a set to provide an overview of all available colours for a product. Selectable Swatches work well for discovering products as they provide a quick preview of how the product looks like in different colours.

To select a product in a purchase journey, we recommend using the Swatch on a Radio Card instead, as this can offer a preview combined with the colour’s description and is therefore more accessible.

Behaviour

Selectable Swatches behave similar to Radios and should be treated as such:

  • As a best practice, one Swatch is already selected by default. We recommend using the most desired or frequently selected option as the default.
  • Clicking an unselected Swatch will deselect whatever other Swatch was previously selected from the list.

Adjustable Elements

The Swatch component can be set to show a matte colour or making use of a gradient to emulate a gloss finish. It is also possible to display an image instead of a colour (e.g to show a textured surface).

Swatch in a matte colour
Swatch with a gloss finish
Swatch with an image to show a texture

Alignment

The static variant of the Swatch can be used to showcase colours for a product at an overview level. This can be achieved with negative spacing between items. We also recommend changing the Auto Layout order within Figma to “First on top” (this is the reverse order from the default “Last on top”).

Regular
Spacing is -24px in Figma & -12px in React (due to Figma having padding built into the component)
Small
Spacing is -20px in Figma & -8px in React (due to Figma having padding built into the component)
Mini
Spacing -8px
Sky Glass. The TV with Sky inside.Sky Glass from £XX a month + £XX a month for Sky TV.
Available in:

Accessibility

The optional ‘Contrast outline’ can be used to enhance the contrast between the swatch and its background. The colour of the outline defaults to Grey-50 and should only be altered when swatch and background combination don’t achieve the required contrast ratio of 3:1.

Ceramicwhite
The contrast outline ensures users can identify a colour swatch, even on a similar background.
Ceramicwhite
Without the outline the colour can get lost against a similar background colour.