<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/where-do-you-put-spacing-on-design-system-components--em5tps2xj" -->

---
title: Where do you put spacing on design system components?
description: An exploration of how to handle vertical spacing in design system components, comparing approaches like manually adjusting spacing, baking a single fixed value...
canonical: https://daily.dev/posts/where-do-you-put-spacing-on-design-system-components--em5tps2xj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Where do you put spacing on design system components? | daily.dev
og:description: An exploration of how to handle vertical spacing in design system components, comparing approaches like manually adjusting spacing, baking a single fixed value...
og:url: https://daily.dev/posts/where-do-you-put-spacing-on-design-system-components--em5tps2xj
og:image: https://api.daily.dev/og/posts/EM5tPS2Xj.png
og:image:alt: Where do you put spacing on design system components?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Where do you put spacing on design system components?

**[Eric Bailey](https://daily.dev/sources/ericwbailey)** · 5 min read · 0 upvotes · 0 comments

## Summary

An exploration of how to handle vertical spacing in design system components, comparing approaches like manually adjusting spacing, baking a single fixed value into components, using component props/variants, and spacer components. Sketch's lack of a Figma-like Variants feature complicates exposing spacing options to designers, pushing toward a documentation-based spacer component approach that maps to a codified CSS custom property fed by a design token, while cautioning against spacer divs on the development side. Emphasizes that solving this requires ongoing communication between design system maintainers, designers, and developers rather than purely technical fixes.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://ericwbailey.website/published/where-do-you-put-spacing-on-design-system-components>

## Questions this post answers

### should I use spacer divs or a spacing prop on components for vertical spacing in a design system

A spacing prop mapped to a codified margin or padding value is preferable to spacer divs. Spacer divs feel like a throwback to table-based layout, whereas a vertical spacing prop tied to a CSS custom property fed by a design token keeps spacing abstraction tightly coupled to the component itself, making it easier for designers and developers to stay consistent.

_daily.dev surfaces practical design-token patterns for developers weighing spacing strategies in their own systems._

### how does Figma's Variants feature compare to Sketch for exposing component spacing options to designers

Figma's Variants functionality exposes spacing and other component options in a far more ergonomic, categorical toggle interface, while Sketch only exposes variants through nested submenus that require digging to find what's needed. This added friction in Sketch reduces the likelihood designers will actually use the spacing options or the design system consistently.

_developers comparing design tools for system-building workflows can track these differences via daily.dev._

## Similar posts on daily.dev

- [Smarter Slice Spacing in Prismic](https://daily.dev/posts/smarter-slice-spacing-in-prismic-pipfqyhil) · Prismic · 6 upvotes · 1 comments
- [How to supercharge your design system with slots](https://daily.dev/posts/how-to-supercharge-your-design-system-with-slots-cxt3juufa) · Figma · 29 upvotes · 0 comments
- [How to document your design system: best practices & tools](https://daily.dev/posts/how-to-document-your-design-system-best-practices-tools-aryingkne) · Storybook · 3 upvotes · 0 comments
- [Design Systems as Governance, Not Just Component Libraries…](https://daily.dev/posts/design-systems-as-governance-not-just-component-libraries--zgw3hf7zh) · Medium · 0 upvotes · 0 comments

---

Tags: [#css](https://daily.dev/tags/css), [#ui-design](https://daily.dev/tags/ui-design), [#figma](https://daily.dev/tags/figma), [#design-systems](https://daily.dev/tags/design-systems)

[View this post on daily.dev](https://daily.dev/posts/where-do-you-put-spacing-on-design-system-components--em5tps2xj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Where do you put spacing on design system components?","url":"https://daily.dev/posts/where-do-you-put-spacing-on-design-system-components--em5tps2xj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/where-do-you-put-spacing-on-design-system-components--em5tps2xj"},"datePublished":"2026-09-20T07:44:05.275Z","dateModified":"2026-09-20T07:48:17.478Z","description":"An exploration of how to handle vertical spacing in design system components, comparing approaches like manually adjusting spacing, baking a single fixed value...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cb10f178805900873b3f95b4a150fe76?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cb10f178805900873b3f95b4a150fe76?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Eric Bailey","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Eric Bailey","logo":"https://media.daily.dev/image/upload/s--r1vwe6z1--/f_auto,q_auto/v1789890198/logos/ericwbailey?_a=BAMAMicg0","url":"https://daily.dev/sources/ericwbailey"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/where-do-you-put-spacing-on-design-system-components--em5tps2xj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"css,ui-design,figma,design-systems","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Eric Bailey","item":"https://daily.dev/sources/ericwbailey"},{"@type":"ListItem","position":3,"name":"Where do you put spacing on design system components?"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/where-do-you-put-spacing-on-design-system-components--em5tps2xj#faq","mainEntity":[{"@type":"Question","name":"should I use spacer divs or a spacing prop on components for vertical spacing in a design system","acceptedAnswer":{"@type":"Answer","text":"A spacing prop mapped to a codified margin or padding value is preferable to spacer divs. Spacer divs feel like a throwback to table-based layout, whereas a vertical spacing prop tied to a CSS custom property fed by a design token keeps spacing abstraction tightly coupled to the component itself, making it easier for designers and developers to stay consistent. daily.dev surfaces practical design-token patterns for developers weighing spacing strategies in their own systems."}},{"@type":"Question","name":"how does Figma's Variants feature compare to Sketch for exposing component spacing options to designers","acceptedAnswer":{"@type":"Answer","text":"Figma's Variants functionality exposes spacing and other component options in a far more ergonomic, categorical toggle interface, while Sketch only exposes variants through nested submenus that require digging to find what's needed. This added friction in Sketch reduces the likelihood designers will actually use the spacing options or the design system consistently. developers comparing design tools for system-building workflows can track these differences via daily.dev."}}]}
```

