> For the complete documentation index, see [llms.txt](https://docs.strm.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.strm.design/reference/blocks/group.md).

# Group

A container that stacks or lines up other blocks, optionally as a card or a link.

A container that stacks or lines up other blocks, optionally as a card or a link.

**File:** `blocks/group.liquid`

**Used in:** [Footer](/reference/sections/footer.md), [Contact form](/reference/sections/main-contact.md), [Product information](/reference/sections/main-product.md), [Content](/reference/sections/section.md)

## Settings

### Layout

| Setting                    | Type     | Options                               | Default  | Notes                                   |
| -------------------------- | -------- | ------------------------------------- | -------- | --------------------------------------- |
| **Direction**              | Choice   | Vertical, Horizontal                  | Vertical |                                         |
| **Stack on small screens** | On / off |                                       | On       | Shown when **Direction** is Horizontal. |
| **Wrap items**             | On / off |                                       | Off      | Shown when **Direction** is Horizontal. |
| **Cross-axis alignment**   | Choice   | Start, Center, End, Stretch, Baseline | Stretch  |                                         |
| **Main-axis distribution** | Choice   | Start, Center, End, Space between     | Start    |                                         |
| **Gap**                    | Slider   | 0–80px, steps of 2                    | 16px     |                                         |
| **Text alignment**         | Choice   | Left, Center, Right                   | Left     |                                         |

### Size

| Setting                         | Type     | Options                                                | Default               | Notes                                                 |
| ------------------------------- | -------- | ------------------------------------------------------ | --------------------- | ----------------------------------------------------- |
| **Width in horizontal layouts** | Choice   | Full width, Share remaining space, Fit content, Custom | Share remaining space |                                                       |
| **Custom width**                | Slider   | 10–100%, steps of 5                                    | 50%                   | Shown when **Width in horizontal layouts** is Custom. |
| **Maximum content width**       | Choice   | None, Narrow, Medium, Wide                             | None                  |                                                       |
| **Center group**                | On / off |                                                        | Off                   |                                                       |
| **Minimum height**              | Slider   | 0–720px, steps of 20                                   | 0px                   |                                                       |
| **Padding**                     | Slider   | 0–64px, steps of 4                                     | 0px                   |                                                       |

### Card

| Setting               | Type         | Options                      | Default  | Notes                                                 |
| --------------------- | ------------ | ---------------------------- | -------- | ----------------------------------------------------- |
| **Show as card**      | On / off     |                              | Off      |                                                       |
| **Card color scheme** | Color scheme |                              | Scheme 2 | Shown when **Show as card** is on.                    |
| **Card corners**      | Choice       | Square, Small, Medium, Large | Large    | Shown when **Show as card** is on.                    |
| **Card link**         | Link         |                              |          |                                                       |
| **Card link label**   | Text         |                              |          | Read by screen readers when the whole card is a link. |
| **Reveal on scroll**  | On / off     |                              | Off      |                                                       |

## Nested blocks

[Collapsible row](/reference/blocks/accordion.md) · [Button](/reference/blocks/button.md) · [Buy buttons](/reference/blocks/buy-buttons.md) · [Compare](/reference/blocks/compare-button.md) · [Complementary products](/reference/blocks/complementary-products.md) · [Custom Liquid](/reference/blocks/custom-liquid.md) · [Divider](/reference/blocks/divider.md) · [Email signup](/reference/blocks/email-signup.md) · [Follow on Shop](/reference/blocks/follow-on-shop.md) · [Group](/reference/blocks/group.md) · [Heading](/reference/blocks/heading.md) · [Icon](/reference/blocks/icon.md) · [Image](/reference/blocks/image.md) · [Menu](/reference/blocks/menu.md) · [Numbered step](/reference/blocks/numbered-step.md) · [Pickup availability](/reference/blocks/pickup-availability.md) · [Product card](/reference/blocks/product-card.md) · [Description](/reference/blocks/product-description.md) · [Inventory status](/reference/blocks/product-inventory.md) · [Product details line](/reference/blocks/product-meta.md) · [Price](/reference/blocks/product-price.md) · [Rating](/reference/blocks/product-rating.md) · [Specifications](/reference/blocks/product-specs.md) · [Swatches](/reference/blocks/product-swatches.md) · [Product title](/reference/blocks/product-title.md) · [Vendor](/reference/blocks/product-vendor.md) · [Scale](/reference/blocks/rating-bar.md) · [Restock request](/reference/blocks/restock-request.md) · [Share](/reference/blocks/share.md) · [Social media icons](/reference/blocks/social-links.md) · [Spacer](/reference/blocks/spacer.md) · [Specification](/reference/blocks/spec-row.md) · [Text](/reference/blocks/text.md) · [Variant picker](/reference/blocks/variant-picker.md) · [Video](/reference/blocks/video.md) · [Volume pricing](/reference/blocks/volume-pricing.md)
