Layouts
Zero-media-query layout primitives that map to Web Awesome CSS utilities — grid, stack, cluster, split, flank, and frame — plus labeled dividers to separate them.
Grid
Auto-adaptive columns
Children wrap based on min column size — resize the window to see it reflow.
::::grid gap:l min:200px
===accent
# One
Wraps responsively.
===
===accent
# Two
No media queries.
===
===accent
# Three
Auto columns.
===
::::
One
Wraps responsively.
Two
No media queries.
Three
Auto columns.
Stack
Vertical rhythm
Consistent vertical spacing between blocks.
::::stack gap:m
:::info
First item
:::
:::success
Second item
:::
:::warning
Third item
:::
::::
First item
Second item
Third item
Cluster
Wrapping tag row
Inline items that wrap — great for tag clouds and button rows.
::::cluster gap:s
@@@brand
Ruby
@@@
@@@success
Jekyll
@@@
@@@neutral
Eleventy
@@@
@@@warning
Markdown
@@@
::::
Split
Opposite ends
Pushes children to opposite ends of the row — the classic header/footer pattern. Put HTML or components (not bare Markdown) directly inside layout containers.
::::split
<strong>© 2026 Markawesome</strong>
<span><a href="/privacy">Privacy</a> · <a href="/terms">Terms</a></span>
::::
Flank
Sidebar + content
::::flank start size:160px gap:l
<img src="../assets/thumb.jpg" alt="Thumbnail">
:::info
The 160px sidebar stays fixed while the content flexes — both wrap to one column on narrow screens.
:::
::::
The 160px sidebar stays fixed while the content flexes — both wrap to one column on narrow screens.
Frame
Aspect ratio: landscape
::::frame landscape radius:l
<img src="../assets/photo.jpg" alt="landscape frame">
::::
Aspect ratio: portrait
::::frame portrait radius:l
<img src="../assets/photo.jpg" alt="portrait frame">
::::
Aspect ratio: square
::::frame square radius:l
<img src="../assets/photo.jpg" alt="square frame">
::::
Divider
Label between choices
--- label --- puts a label in the middle of a <wa-divider>. A plain --- stays an ordinary rule.
::::stack
%%%brand
Sign in with email
%%%
--- or ---
%%%neutral
Continue with SSO
%%%
::::
Section label at the start
A leading start or end moves the label along the line.
--- start Release notes ---
Version 2.0 brings a new theme and faster builds.
--- end icon:clock Updated today ---
Version 2.0 brings a new theme and faster builds.
Icon-only flourish
The end of one chapter.
--- icon:star ---
The start of the next.
The end of one chapter.
The start of the next.
Vertical, inside a cluster
vertical turns the divider into an upright separator between inline items.
::::cluster align:center
%%%success
Approve
%%%
--- vertical or ---
%%%danger
Reject
%%%
::::
Inside a card
===
# Plan comparison
Free for personal use.
--- or ---
$9 per month for teams.
===
Plan comparison
Free for personal use.
$9 per month for teams.