kontenedor

Responsive design

Kontenedor is mobile-first: base styles target phones and grow with md: (tablet) and lg: (desktop).

Rules

  • Gutters: 16px mobile → 32px tablet → 40px desktop (container-k or <Container>).
  • Touch targets: controls are ≥ 36px (Thin) / 40px (Medium) / 44px (Bold).
  • Type: hero headings use fluid text-display-* that scale with the viewport.
  • Tables scroll horizontally on small screens; hide low-priority columns with hidden md:table-cell.
  • Navigation: collapse to a Sheet below lg.
  • Dialogs become full-width with margins on mobile; use SheetContent side="bottom" for mobile actions.
  • Grids: grid sm:grid-cols-2 lg:grid-cols-4 for stat rows and product grids.

Test sizes

Storybook includes Mobile (375), Tablet (768) and Desktop (1440) viewports. Figma frames use the same sizes.