Skip to main content
Brand and assets
BuildMonitor and contribute
/
Brand and assets
  • Foundations
    • The brand
    • Logo
    • Colors
    • Typography
    • Styles
    • Shadows & radii
    • Spacing & grid
    • Gradients
    • Styling & the sx prop
    • Color tokens
    • More
    • Accessibility
  • Assets
  • AI references
  • Foundations
  • Shadows & radii

Shadows & radiuses

How shadows & radiuses are used across our products.

Shadowsโ€‹

Our shadows are all $grey-800 with some opacity.

Design TokenPropertiesPreviewUsage
xsbox-shadow: 0px 0px 2px #282830;
Used on buttons for pressed states (with a $grey100 border)
smbox-shadow: 0px 1px 4px #282830;
Used on buttons (along with a $grey100 border)
mdbox-shadow: 0px 0px 12px #282830;
Used on buttons for hover states as long as cards (with a $grey100 border)
lgbox-shadow: 0px 4px 20px #282830;
Used when hovering cards (along with a $grey100 border)

Radiuses

This section is a work in progress while we decide what threshold & guidelines will hold well ๐Ÿšงโš ๏ธ๐Ÿ‘ท๐Ÿผโ€โ™€๏ธ

See this Linear issue for more context

For elements smaller than 48pxโ€‹

Pick the closest multiple of our base number, that refrains from making the radius completely round. Eg. for a box of 48px, a 100% round radius would be 24px, use 20px.

For elements bigger than 48pxโ€‹

Use 16px.

Edit this page
Previous
Typography
Next
Spacing & grid
  • Shadows
  • For elements smaller than 48px
  • For elements bigger than 48px