Skip to main content

Spacings

The Hurco design system utilizes a mathematical spacing scale to ensure consistent vertical and horizontal rhythm. All values are derived from a base unit to maintain layout harmony.


Spacing Scale

TokenPixelRemVisual Representation
space-10px0rem
space-22px0.125rem
space-34px0.25rem
space-48px0.5rem
space-512px0.75rem
space-616px1rem
space-720px1.25rem
space-824px1.5rem
space-928px1.75rem
space-1036px2.25rem
space-1140px2.5rem
space-1264px4rem
space-1372px4.5rem
space-1488px5.5rem
space-15120px7.5rem
space-16180px11.25rem
space-17240px15rem

Usage Principles

  • Predictability: Avoid hardcoding "one-off" pixel values. Always snap to the nearest spacing token.
  • Grids: Use smaller steps (1–5) for internal component padding and larger steps (10–17) for section margins and layout gaps.
  • Consistent Scaling: When increasing screen size, increment spacing tokens proportionally to maintain visual balance.