Layout
Flexbox
The layout element itself — flex or grid, with per-device direction, gap and alignment; grid tiles that span columns and rows (bento layouts); an exact custom gap; and a link that makes the whole box clickable.
Live demo
See it in action
Grid spans
Bento grids, with spans and a box link.
A 3-column Grid with 180px rows and an exact 18px gap. The first tile spans 2 columns and 2 rows; the last spans the full row. The green tile is one big link — and the button inside it still has its own.
Responsive · Large Desktop
One, two, three, four — across every breakpoint.
Each card’s Width is per device: full on Phone, 1/2 on Tablet, 1/3 on Desktop and 1/4 on Large Desktop (≥1200px) — the new fourth responsive tier. Widen the window past 1200px, or pick the builder’s Large Desktop preview, to see four across. Max Width, Prevent Shrinking and Position (sticky on desktop, static on phone) are now per device too.
Inline Flex & Grow Factor
Inline-level flex, and proportional growth.
The pill is a single Inline Flex box — a flex container that sits inline in the text flow. The three bars below use exact Grow Factors 1, 2 and 3, so the second grows twice and the third three times as fast as the first.
Direction
A row on desktop, a stack on phones.
Direction is per device: Column on Phone, Row from Tablet up. Resize the window to watch the three cards re-flow.
Justify
Distribute children along the row.
The same three chips with Justify set to Start, Center, Space between and Space evenly.
Start
Center
Space between
Space evenly
Align
Line children up on the cross axis.
A tall card next to two short ones: Align items set to Start, Center and Stretch (equal heights).
Start
Center
Stretch
Wrap + Flex Basis
Cards that wrap on their own.
Each card: Flex Basis 240px, Grow to Fill on, Min Width 200px. The row wraps as space runs out — no breakpoints.
Auto-fit grid
As many columns as fit.
Display: Grid with Auto-fit on and a 200px Min Column Width — columns appear and disappear as the width changes.
Grid placement
Put a tile exactly where it belongs.
A 12-column grid. Grid Column Start + Grid Column Span place each bar without spacer cells; Grid Row Start pins the last one to row 2.
Reverse & order
Change the visual order without touching the markup.
From tablet up the row is reversed, so the image sits on the right. On phones the text comes first via Order. The HTML order never changes.
Content Width
Cap a box and choose where it sits.
Three boxes capped to the Narrow width, aligned Left, Center and Right inside the full row.
Min height + centring
A centred hero in one box.
Min Height 360px, Justify center and Align center on a Column, over a gradient Background.
Backdrop blur
Frosted glass over a busy background.
A translucent white Background + Backdrop Blur 14px on the inner box, sitting on a colourful gradient.
Aspect ratio
Boxes that keep their shape.
Aspect Ratio 1, 16 / 9 and 4 / 5 — the height follows the width at every screen size.
Place every element exactly where you want it.
Freeform
Set a Div's Display to Freeform and drag its elements anywhere in the Live Editor, with snapping guides and layers. Narrow the window (or open this on a phone): below tablet size the same elements stack in reading order.
A headline that overlaps the picture
Each element keeps its own place: left and width in % of the section, top in pixels, and a layer, so the headline can sit over the circle behind it.
The markup
Clean, lean code
This is the exact HTML the element outputs, straight from the page builder. No wrapper soup, no inline-style bloat.
<section class="fw-flexbox upw-section upw-band-surface fw-flex fw-flex-column fw-gap-md fw-full-bleed fw-collapse">
<div class="heading heading-h2 heading--space-tight mb-4">
<p class="heading-overline heading-overline--kicker text-center">Grid spans</p>
<h2 class="heading-title text-center">Bento grids, with spans and a box link.</h2>
<p class="heading-subtitle text-center">A 3-column Grid with 180px rows and an exact 18px gap. The first tile spans 2 columns and 2 rows; the last spans the full row. The green tile is one big link — and the button inside it still has its own.</p>
</div>
<div class="fw-flexbox sc-bento-demo fw-grid fw-grid-3 fw-grid-collapse" style="grid-auto-rows:180px;">
<div class="fw-flexbox fw-flexbox--linked">
<a class="fw-flexbox__link" href="https://unysonplus.github.io/docs/" aria-label="Open the Flexbox documentation"></a>
<div style="height:100%;box-sizing:border-box;border:1px solid #e7e8e9;border-radius:14px;padding:1.2rem 1.3rem;background:#eef7f4">
<strong style="display:block;font-size:1.25rem;color:#1c1e22">2 × 2 tile</strong>
<span style="display:block;color:#5f6266;margin-bottom:.8rem">Grid Column Span 2 + Grid Row Span 2. The whole tile is a link.</span>
<a href="#sec-bento" style="display:inline-block;padding:.45rem .9rem;border-radius:999px;background:#1c1e22;color:#fff;text-decoration:none;font-size:.85rem">Its own button →</a>
</div>
</div>
<div class="fw-flexbox">
<div style="height:100%;box-sizing:border-box;border:1px solid #e7e8e9;border-radius:14px;padding:1.2rem 1.3rem;background:#f3f6fb">
<strong style="display:block;color:#1c1e22">Tile</strong>
<span style="color:#5f6266">Auto placement.</span>
</div>
</div>
<div class="fw-flexbox">
<div style="height:100%;box-sizing:border-box;border:1px solid #e7e8e9;border-radius:14px;padding:1.2rem 1.3rem;background:#f3f6fb">
<strong style="display:block;color:#1c1e22">Tile</strong>
<span style="color:#5f6266">Fills the hole beside the big tile.</span>
</div>
</div>
<div class="fw-flexbox">
<div style="height:100%;box-sizing:border-box;border:1px solid #e7e8e9;border-radius:14px;padding:1.2rem 1.3rem;background:#fbf6ee">
<strong style="display:block;color:#1c1e22">Full row</strong>
<span style="color:#5f6266">Grid Column Span: Full row.</span>
</div>
</div>
</div>
</section>To learn more about the Flexbox shortcode, please check out the online manual here.
Free & open source
Build with this element, free.
Install the framework and the Bootstrap 5 theme, then drag this element into any page.