Nooxit
Foundations

Spacing

The 4px spacing rhythm the components are built on.

Nooxit uses Tailwind's default 4px spacing scale unchanged. Nothing in the Figma kit departs from it, so p-4 is 16px here exactly as it is anywhere else.

The values components actually use

Reading across the kit, a small set of steps does almost all the work:

StepValueWhere it shows up
0.52pxSwitch track inset
14pxMenu and popover padding, toggle group gaps
1.56pxMenu item vertical padding
28pxField gaps, icon-to-label gaps, tabs track padding
2.510pxInput vertical padding, small button sides
312pxInput and select sides, calendar padding
416pxAlert, sheet body, table cell sides, choice cards
624pxCard and dialog padding, sheet header
832pxDialog section gaps

Container widths

The theme adds a set of fixed container widths for page shells:

UtilityWidth
max-w-screen-sm40rem (640px)
max-w-screen-md48rem (768px)
max-w-screen-lg64rem (1024px)
max-w-screen-xl80rem (1280px)
max-w-screen-2xl96rem (1536px)

Component heights

Controls line up on a shared set of heights, which is what lets an input, a select and a button sit in one row without drifting:

HeightControls
24pxBadge, toast action, sonner action
28pxExtra-small icon button, calendar nav
32pxSmall button, menu item, tab, sidebar item
36pxSmall input, select, toggle
40pxInput, select, combobox, large button, toggle, menubar
44pxLarge toggle
48pxTable header cell

On this page