--- title: "Grid Card Assemble" description: "N capability cards (thin-line icon that draws on, mono label, optional muted body) stagger-assemble into a grid or vertical list with a fade plus short slide into slot, then hold perfectly still." --- import { InstallCommand } from "/snippets/install-command.jsx"; import { VariablesExplorer } from "/snippets/variables-explorer.jsx"; ```html grid-card-assemble.html Grid Card Assemble ``` ## Install That writes one file: `compositions/components/grid-card-assemble.html`. ## Paste it into your composition Open `compositions/components/grid-card-assemble.html` and copy what is inside into your own composition. A component has no size or duration of its own. It takes both from the composition you paste it into. ## Variables Every one of these has a default, so the piece works untouched. Set the ones you want to change on the element: | Variable | Default | Accepts | What it does | | --- | --- | --- | --- | | `items` | `Capture,Compose,Render,Publish` | string | Comma-separated cards (3 to 12). "Label: body" adds a one-line muted body under the label. | | `layout` | `grid` | `grid`, `list` | Grid wraps by columns; list stacks vertically. | | `columns` | `0` | 0 to 4, step 1 | Grid column count (grid layout only). 0 picks automatically: one row up to 3 items, then ceil(sqrt(N)). | | `cues` | `` | string | Comma-separated per-item entrance times in seconds. Blank entries use the default cascade. | | `accent` | `green` | `green`, `blue`, `violet` | Accent token family used by the card icons. | | `exit` | `none` | `none`, `fade`, `up` | How the assembled layout leaves the frame. Default none: the hold ends the film. | Set them with `data-variable-values` on the element that mounts it. These are the defaults, so this behaves exactly like the preview above until you change one: ```html wrap
``` ## Source ```html Grid Card Assemble ``` {/* hf:generated-footer */} Tagged `motion-primitive` `layout` `grid` `list` `stagger` `assemble` `feature-tour`. ## Related topics - [Browse the complete Catalog](/catalog) - [Add assets and Catalog items in Studio](/studio/assets-and-blocks) - [Build a richer composition](/go-further)