Spacing Foundation

Design System

Foundation

Build an AI-ready Spacing Foundation without starting from scratch

Turn arbitrary gaps and padding into a consistent spacing rhythm your team can customize, document, and hand off to development

Trusted by Designers from

Spacing gets messy when gaps are created case by case. Most teams lack shared rules for rhythm, density, and implementation

_

Most spacing systems stop before they become usable infrastructure

Having spacing values is not the same as having a scale, rhythm rules, density logic, grouping guidance, and handoff structure

0

of teams connect tokens across design tools, code, and documentation

Source: zeroheight, 2026

0

+

of developers and designers say handoff between design and code could be improved

Source: Figma, 2025

Semantic roles and text styles

1

Local spacing

Spacing values chosen locally without shared scale or usage rules

2

Shared values

Reusable values grouped by size or visual appearance

3

Primitive tokens

Spacing values organized into a structured primitive tokens

4

Semantic roles

Spacing tokens mapped to gaps, padding, and density

5

Documented rules

Rules explain grouping, density, usage, and exceptions

6

System layer

AI context, handoff, and density modes work from one model

Bring structure to your spacing system, wherever you're starting from

Start from scratch, clean up existing spacing values, prepare handoff, or customize your spacing rhythm with AI

Start with rhythm, not just pixel values

Turn gaps, padding, and margins into a system for grouping, hierarchy, and product density

Turn spacing values into a system

Audit existing gaps, clean up local exceptions, and define reusable spacing rules

Use AI without breaking spacing logic

Adapt spacing scale, density, and naming with AI while preserving product rhythm

Bridge between design and code

Connect spacing roles to token meaning, layout behavior, and implementation rules

From arbitrary gaps to a consistent spacing rhythm

Turn disconnected spacing values into a structured scale, density rules, grouping logic, and developer-readable handoff

Semantic roles and text styles

Arbitrary gaps without clear usage

Shared spacing scale with clear usage logic

Padding created case by case

Defined padding, gap, and grouping rules

Developers guess which spacing value to use

Developer-readable spacing handoff

Density handled inconsistently

Density decisions documented

Similar patterns use different spacing

Consistent layout rhythm across product surfaces

Spacing values hardcoded in implementation

Spacing tokens mapped to implementation rules

Turn local spacing choices into reusable system roles

Replace disconnected gaps and padding with semantic roles for layout rhythm, grouping, density, and handoff

Before

Local gaps, mixed padding, unclear grouping logic, and repeated decisions

After

Spacing scale, rhythm rules, density logic, and developer-readable handoff

Customize, document, and hand off your spacing foundation

Adapt spacing roles, document rhythm rules, and give developers the logic behind gaps, padding, density, and implementation

Semantic roles and text styles

Figma file

fig

Build from a structured spacing foundation with tokens, semantic roles, density modes, and documentation in one file

Semantic roles and text styles

Setup guide

PDF

Customize your spacing scale, density rules, grouping logic, and workflow step by step without breaking the system structure

Semantic roles and text styles

AI prompts

PDF

Audit spacing values, adapt spacing roles, review density risks, and prepare handoff with repeatable prompts

AI context

Md

Give an LLM the spacing rules and constraints for safer customization

NotebookLM source

Md

Explore the system and generate briefings from one source

Accessibility

Md

Review touch support, cramped layouts, grouping clarity, and density risks

Dev handoff

Md

Explain spacing roles, token mapping, density behavior, and implementation guidance

A guided workflow for building your spacing foundation

Move from setup to safe customization, accessibility review, and developer-ready handoff

Semantic roles and text styles

Review

Customize

Handoff

Spacing Foundation

I've loaded your Spacing Foundation context. What would you like to review first?

Figma file

AI context

NotebookLM source

1

Review

Review spacing scale, semantic roles, density modes, and documentation

2

Customize

Map spacing values, adjust density, and review grouping risks

3

Handoff

Document spacing roles, density rules, and implementation notes

Pricing

One simple price with full access and future updates included

AI-ready

Spacing Foundation

Build, customize, and hand off a mature spacing system foundation

$149

Markdown context for these AI tools and other LLMs

Figma system

TOKENS, SCALE, DENSITY

AI workflow

Markdown CONTEXT, PROMPTS, REVIEW

System guidance

SETUP, RULES, IMPLEMENTATION

Figma spacing system with tokens and density

Spacing rules for rhythm and layout

Setup for spacing scale, density, and workflow

AI context and prompts for customization

Accessibility and implementation context

🏄‍♂️

Discount for students

Discount for students

Email hey@designsystems.surf to get student offer

Email hey@designsystems.surf to get student offer

Make spacing decisions easier for devs to implement consistently

The dev handoff file explains spacing roles, density, gap vs padding, and implementation rules

Token meaning

Explain what spacing tokens represent and how to use them in design and code

Rhythm logic

Clarify stack, inline, layout gap, padding, and density relationships across product surfaces

Usage rules

Show where spacing roles should and should not be used to avoid local exceptions

Implementation notes

Give developers the logic behind spacing, density, and implementation

Use AI with spacing system context, not generic prompts

Give Claude or another LLM the rules, constraints, and spacing logic it needs to help without inventing a new system

OpenAI frames context optimization as a core lever for improving LLM accuracy

Source: OpenAI, LLM Accuracy Guide

Semantic roles and text styles

Role-safe changes

Adapt spacing, density, grouping, and naming without breaking the system model

System-aware audit

Find arbitrary gaps, duplicate values, unclear roles, and inconsistent spacing usage

Accessibility review

Check density, cramped elements, grouping clarity, and touch support risks

Handoff-ready notes

Turn spacing logic into clearer explanations for developers

It's been quite helpful to wrangle all of these seemingly disparate systems into a singular lens and understand how to get started

Dallas Kwok

Lead Designer

Use Spacing Foundation when spacing decisions get inconsistent

Whether you are starting from scratch, cleaning up gaps and padding, defining density logic, or preparing developer handoff

Start from scratch with a spacing system

When you are building a new product or design system, spacing decisions can turn into disconnected values quickly. Spacing Foundation gives you a structured model from day one: spacing scale, semantic roles, density logic, documentation, AI context, accessibility notes, and developer handoff

Outcome

You start with a spacing foundation that is ready to customize instead of inventing every rule from zero

Adapt existing spacing values into product roles

Audit messy gaps and padding

Prepare handoff without guesswork

Deliver client-ready spacing foundations

Built for teams and designers working on spacing systems

Use Spacing Foundation when gaps, padding, density, and rhythm need to be structured, customized, documented, and handed off

01

Product designers

Keep interfaces consistent with reusable spacing roles for forms and content groups

02

UI designers

Turn visual spacing choices into rules for rhythm, grouping, density, and consistency

03

Freelancers and agencies

Deliver client-ready spacing foundations with documentation, AI context, and handoff

04

Design system leads

Standardize existing spacing values with clearer roles, naming, density, and usage rules

Based on analysis of 100+ design systems. Patterns translated into a reusable spacing foundation

Since 2023, Design Systems Surf has cataloged mature design systems across foundations, components, documentation, and implementation patterns.

Spacing Foundation turns that research into reusable spacing roles, density rules, AI context, accessibility guidance, and handoff.

Save 24–36 hours on spacing system work and documentation

Spacing Foundation removes repetitive setup, documentation, AI context, accessibility, and handoff work

Choose your hourly rate to estimate the value of saved work

$25

$50

$75

$100

Work area

Built from scratch

Saved with Foundation

Figma spacing system

12–18 hours

8–12 hours

$400–$600

AI context and prompts

4–8 hours

3–5 hours

$150–$250

Accessibility notes

4–8 hours

3–5 hours

$150–$250

Developer handoff

6–10 hours

5–7 hours

$250–$350

Setup workflow

6–10 hours

5–7 hours

$250–$350

Value equivalent: $1,200–$1,800 of design system work

Compared with the $149 Spacing Foundation price

Based on 24–36 hours of estimated

Built from scratch work

Choose your hourly rate to estimate the value of saved work

$25

$50

$75

$100

Figma spacing system

Saved with Foundation

8–12 hours

$400–$600

AI context and prompts

Saved with Foundation

3–5 hours

$150–$250

Accessibility notes

Saved with Foundation

3–5 hours

$150–$250

Developer handoff

Saved with Foundation

5–7 hours

$250–$350

Setup workflow

Saved with Foundation

5–7 hours

$250–$350

Value equivalent: $1,200–$1,800 of design system work

Compared with the $149 Spacing Foundation price

Foundation Stack

Design System

Build an AI-ready foundation system for your product

Create structured foundations for consistent design, AI customization, and developer handoff

$1,192

$699

Save $493

–41%

Trusted by designers working on design systems

Feedback from people building, auditing, documenting, and maintaining design systems

  • Design Systems Surf has helped me conceptualize a framework to move from idea to a usable brand design system. It has taken my prototypes to the next level

    Michelle Exantus

    UX Researcher

  • It's been quite helpful to wrangle all of these seemingly disparate systems into a singular lens and understand how to get started

    Dallas Kwok

    Lead Designer

  • Helpful, particularly for conducting research on specific component terms and terminology. It provided a strong starting point for structuring how I plan to document each component

    Eric Luciano

    UX/UI Designer

  • Design Systems Surf has been really helpful in expanding my knowledge of design systems and best practices. The content is practical, well-structured, and easy to apply directly to my work

    Piotr Wojtasiewicz

    Developer

  • Invaluable to us as we try to build a design system to consolidate multiple products into a consistent user experience. Design Systems Surf allowed us to build to a much higher quality than we would without this resource

    Dave Kinsella

    Lead Designer

  • The defined path, stack, and instructions are rigid enough to give the process structure and dynamic enough to apply to your own creations

    John Curley

    UX/UI Designer

  • Design Systems Surf helped us move from scattered decisions to a clearer system structure. It gave us a practical way to think through tokens, documentation, and handoff without getting stuck in theory

    Dmitry Rypinsky

    Product Designer

  • Helped to validate and refine our approach to design systems. It has also provided invaluable ideas where AI can turn complex and time-consuming tasks into real productivity gains

    Daniel Holder

    Agency

  • Really appreciate the content — it's helping me think through how to better verbalize documentation for my design system

    Steven Hardaway

    UX/UI Designer

  • Design Systems Surf has helped me conceptualize a framework to move from idea to a usable brand design system. It has taken my prototypes to the next level

    Michelle Exantus

    UX Researcher

  • It's been quite helpful to wrangle all of these seemingly disparate systems into a singular lens and understand how to get started

    Dallas Kwok

    Lead Designer

  • Helpful, particularly for conducting research on specific component terms and terminology. It provided a strong starting point for structuring how I plan to document each component

    Eric Luciano

    UX/UI Designer

  • Design Systems Surf has been really helpful in expanding my knowledge of design systems and best practices. The content is practical, well-structured, and easy to apply directly to my work

    Piotr Wojtasiewicz

    Developer

  • Invaluable to us as we try to build a design system to consolidate multiple products into a consistent user experience. Design Systems Surf allowed us to build to a much higher quality than we would without this resource

    Dave Kinsella

    Lead Designer

  • The defined path, stack, and instructions are rigid enough to give the process structure and dynamic enough to apply to your own creations

    John Curley

    UX/UI Designer

  • Design Systems Surf helped us move from scattered decisions to a clearer system structure. It gave us a practical way to think through tokens, documentation, and handoff without getting stuck in theory

    Dmitry Rypinsky

    Product Designer

  • Helped to validate and refine our approach to design systems. It has also provided invaluable ideas where AI can turn complex and time-consuming tasks into real productivity gains

    Daniel Holder

    Agency

  • Really appreciate the content — it's helping me think through how to better verbalize documentation for my design system

    Steven Hardaway

    UX/UI Designer

10k+

Designers across 175+ countries follow Design Systems Surf for design system examples, patterns, and practical resources

What to know before you start

Clear answers about what Spacing Foundation includes, how it can be customized, and how it fits into real design system work

Is this just a Figma template?

No. The Figma file is one part of the package. Spacing Foundation also includes AI context .md, NotebookLM source .md, setup guidance, AI prompts, accessibility .md, and dev handoff .md.

The Figma file gives you the working spacing system. The Markdown files support different AI workflows: customization, knowledge exploration, accessibility review, and developer handoff.

What is included?

Can I customize it?

Will this fit my brand?

Can I use it with an existing design system?

Do I need to use AI?

Are the Markdown files standalone guides?

What does the NotebookLM source do?

What does the accessibility file do?

What does the dev handoff file do?

Does this include components?

Does this support density modes?

Who is this for?

Is this for beginners or advanced teams?

How is this different from building it myself?

Will developers be able to use it?

Can I use this for client work?

What is not included?

Still have questions?

Reach out at hey@designsystems.surf

More Products

AI-ready

Spacing Foundation

Build, customize, and hand off a mature spacing system foundation

Markdown context for these AI tools and other LLMs

Figma system

TOKENS, SCALE, DENSITY

AI workflow

Markdown CONTEXT, PROMPTS, REVIEW

System guidance

SETUP, RULES, IMPLEMENTATION

Figma spacing system with tokens and density

Spacing rules for rhythm and layout

Setup for spacing scale, density, and workflow

AI context and prompts for customization

Accessibility and implementation context

🏄‍♂️

Discount for students

Email hey@designsystems.surf to get student offer