Filip Rut Kiddosy Design System Polski

DocsFoundations

Spacing & layout

4 px grid, shell dimensions and touch targets.

A 4 px scale

Kiddosy has no spacing tokens of its own. It keeps Tailwind’s 4 px spacing scale and adds named sizes only where the layout needs a fixed dimension (the shell, cards, touch targets). That keeps one rhythm across the product without inventing a parallel scale.

  1. 14 px
  2. 28 px
  3. 312 px
  4. 416 px
  5. 520 px
  6. 624 px
  7. 832 px
  8. 1040 px
  9. 1248 px
  10. 1456 px
  11. 1664 px

Shell dimensions

Fixed sizes of the app frame are tokens, so the navbar, sidebar and bottom navigation line up on every screen.

TokenValue
navbar56 px phone · 75 px from 768 px
sidebar224 px · 64 px collapsed
bottom-nav64 px
logo128 × 30 px · 111 × 26 px on phones
auth-card644 px wide · form 422 px
step-cardfixed height in every funnel: min. 520 px, up to 804 px

Touch targets

Every control is at least 44 × 44 px, including the small button size. Where the visible element is smaller (a checkbox, a heart on a photo), the hit area around it is not.

Dashed outline = 44 px hit area

Kiddosy Design System