*This site is a work-in-progress and some pages are more complete than others. If you have any questions or issues, please email nick.harris@reckitt.com. *

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »



The Spacer is a simple invisible utility component that allows you to space out content when creating your own components or blocks. Spacer’s sizes are tied to css variables which can be overridden, changing the spacing across the whole site.

Usage

Do’s

  • Use a spacer to create consistence spacing when building your own components or blocks.

Dont’s

  • Use a spacer when you could adjust a components individual style by using the classNames prop or changing a components css variables.

Anatomy

Item

Component type

Content type

Notes

1

Spacer

n/a

n/a

Visual style

n/a

Editorial

n/a

Behaviour

n/a

Accessibility

n/a

  • No labels