Spacing

Spacing is using empty space to enhance clarity, readability, and element relationships in design.

Overview of Spacing

Spacing in design systems is crucial for creating visually appealing and user-friendly interfaces. It involves using consistent margins, padding, gutters, and whitespace to separate and organize UI elements. Defined spacing scales help ensure uniform application across components and responsiveness across devices. Proper spacing enhances the readability, navigability, and overall aesthetic of digital products, making it foundational to good design.

Spacing Steps

The Telerik and Kendo UI spacing system defines 40 steps, each using 1 rem (16 px) as the base unit, with every step representing a precise multiple of this unit.

StepValueExample
00px
1px1px
0.50.125rem
10.25rem
1.50.375rem
20.5rem
2.50.625rem
30.75rem
3.50.875rem
41rem
4.51.125rem
51.25rem
5.51.375rem
61.5rem
6.51.625rem
71.75rem
7.51.875rem
82rem
92.25rem
102.5rem
112.75rem
123rem
133.25rem
143.5rem
153.75rem
164rem
174.25rem
184.5rem
194.75rem
205rem
215.25rem
225.5rem
235.75rem
246rem
257rem
268rem
279rem
2810rem
2911rem
3012rem

Spacing Types

Different types of spacing are used strategically within a layout to create clear separation and intuitive flows. Here’s an overview of the primary types of spacing used in design systems:

  • Margins—Space outside of borders that separates elements from each other.
  • Padding—Space inside of borders that creates padding around an element's content.
  • Gutters—Space between columns or rows in a grid system.
  • Gaps—Space between flex items.

Key Principles

Spacing is a critical component in design that helps structure content, enhance visual appeal, and guide user interactions. The Telerik and Kendo UI Design System endorses several basic principles related to spacing:

  • Visual Hierarchy and Emphasis—Spacing helps to establish visual hierarchy by creating distinct groups of elements or isolating important elements, making it easier for users to quickly understand which parts of the design are meant to be focal points.
  • Readability—Proper use of spacing improves readability by breaking text into manageable chunks. Adequate space around text and between lines (leading) ensures that content is easier on the eyes, which is also critical for accessibility.
  • Aesthetic Balance—Spacing contributes to the overall balance and symmetry of a design. Consistent and thoughtful spacing creates a more harmonious layout that is aesthetically pleasing and feels well-organized.

Theme-Specific Variables

For specific information about the spacing system, refer to the theme-specific variables list:

Feedback