Guidelines
Component Responsiveness
Quanta components are mobile‑first and adapt out of the box using flexible flex
, grid
, and responsive utilities.
Breakpoints
Use these prefixes for screen‑width queries:
sm:
≥640pxmd:
≥768pxlg:
≥1024pxxl:
≥1280px2xl:
≥1536px
Responsive Layout
Combine percentage widths and grid/flex at breakpoints:
<div class="quanta-card w-full md-w-1/2 lg-w-1/3">…</div>
Full / ½ / ⅓
Full / ½ / ⅓
Full / ½ / ⅓
Utility Classes
Show, hide or change display at breakpoints:
<p class="hidden sm-block lg-inline">…</p>
Hidden by default, block ≥sm, inline ≥lg
Live Examples
Grid Cards
Card 1
Card 2
Card 3
<div class="d-grid grid-cols-1 sm-grid-cols-2 lg-grid-cols-3 gap-4">
<div class="quanta-card">…</div>
<div class="quanta-card">…</div>
<div class="quanta-card">…</div>
</div>
Navbar Collapse
<nav class="quanta-navbar quanta-navbar-split">
<button class="quanta-toggle">☰</button>
<div class="quanta-nav open">…</div>
</nav>