GlyphStack
moleculesRun of up to four small glyphs that folds into a 2×2 grid of 1rem cells in a narrow container, with optional tap or slide-to-pick tiles.
Session list
stack="auto" measures the nearest .cq container and folds below stackBelow (22rem here): drag the handle. DOM order is unchanged, so Tab still reaches the pin first.
active devbox Migrate demo examples for the media molecules 2 min
stale ci-runner Investigate cache-01 failover 1 h
dead laptop Draft release notes Mon
Fold modes and expand
stack="never" | "always" | "auto"; folded cells are 1rem, so expand="tap" opens the four glyphs as big tiles on click and expand="slide" opens on press: drag toward a corner and release to fire it.
Running eu-west-1 never: inline run
Running always: 2×2 grid
Running always + expand="tap"
Running always + expand="slide"
Content shapes
items accepts plain strings; fewer than four cells leave the grid partly empty; children takes a free-form run where each direct child is a cell; an inline gap widens the run.
🔒⚡☁★ strings
🔒⚡ two items
🔒 one item
children
Offline wider gap
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items | GlyphStackItem[] | — | Glyphs as `{ inline, stacked? }` pairs; alternative to `children`. |
children | Snippet | — | Free-form run — each direct child becomes a cell. |
stack | 'never' | 'always' | 'auto' | 'auto' | `auto` folds below `stackBelow`, measured on the nearest query container (any `.cq`, an AppShell region, or the ancestor named `container`). |
stackBelow | string | '30rem' | Container width (px/em/rem) under which `auto` folds. |
container | string | — | `container-name` of the ancestor to measure instead of the nearest one. |
expand | 'none' | 'tap' | 'slide' | 'none' | While stacked (`items` only), a press opens the four glyphs as big tiles over the stack. `tap` keeps them open to hover, click and read; `slide` also lets you drag toward a corner and release to fire that tile. |
expandLabel | string | 'Details' | Accessible name of the expanded panel. |
class | string | '' |