Space and shape
A 4px spacing scale, sharp small radii, hairlines before shadows, and motion that is quick and never decorative. The product's values, plus the few a page needs that a console does not.
Spacing
--su-space-10.25rem--su-space-20.5rem--su-space-30.75rem--su-space-41rem--su-space-51.25rem--su-space-61.5rem--su-space-82rem--su-space-102.5rem--su-space-123rem--su-space-164rem--su-mkt-space-205rem--su-mkt-space-246rem--su-mkt-space-328rem--su-mkt-section-yclamp(3.5rem, 2.57rem + 3.81vw, 6rem)--su-mkt-gutterclamp(1rem, 0.63rem + 1.52vw, 2rem)
Widths and controls
--su-trust-rule-width2px--su-control-height2.25rem--su-control-padding-x1rem--su-control-padding-y0.5rem--su-card-padding1.5rem--su-row-padding-y0.75rem--su-mkt-container80rem--su-mkt-container-narrow46rem--su-mkt-measure62ch--su-mkt-header-height4rem--su-mkt-control-height2.75rem--su-mkt-control-height-sm2.25rem--su-mkt-reveal-distance0.75rem
Radius
--su-radius-sm0.25rem--su-radius0.375rem--su-radius-lg0.5rem--su-radius-xl0.75rem--su-radius-full9999px
Elevation
--su-shadow-sm0 1px 2px rgb(0 0 0 / 6%)--su-shadow0 4px 12px rgb(0 0 0 / 8%)--su-focus-ring0 0 0 3px #8b74e066--su-mkt-shadow-lg0 1px 2px rgb(0 0 0 / 8%), 0 24px 48px -16px rgb(0 0 0 / 28%)
Motion
--su-motion-fast120ms--su-motion200ms--su-motion-slow320ms--su-easecubic-bezier(0.4, 0, 0.2, 1)--su-ease-outcubic-bezier(0.16, 1, 0.3, 1)--su-ease-incubic-bezier(0.4, 0, 1, 1)--su-mkt-motion-reveal560ms
Layout and motion
Hairlines before shadows, and space before hairlines. Motion confirms something happened; it never performs.
Do
- Use the spacing scale. Sections breathe with the section rhythm token; cards use 24px padding.
- Use 6px radius for controls and 12px for cards and tables.
- Use logical properties (inline-start, inline-end) so layouts mirror in Arabic.
- Keep content visible without scripts and without animation.
Don't
- Do not nest a card inside a card.
- Do not add a shadow where a 1px border will do.
- Do not scale, bounce or slide things on hover.
- Do not hide content until an animation runs.