> ## Documentation Index
> Fetch the complete documentation index at: https://docs.evidence.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Stack

> A flexible layout that stacks its children vertically

```liquid theme={null}
<!-- 2 big values stacked vertically -->
{% stack  %}
    {% big_value
        data="demo.daily_orders"
        value="sum(total_sales)"
    /%}
    {% big_value
        data="demo.daily_orders"
        value="avg(avg_transaction_value)"
    /%}
{% /stack %}
```

## Examples

### Basic Usage

```liquid theme={null}
<!-- 2 big values stacked vertically -->
{% stack  %}
    {% big_value
        data="demo.daily_orders"
        value="sum(total_sales)"
    /%}
    {% big_value
        data="demo.daily_orders"
        value="avg(avg_transaction_value)"
    /%}
{% /stack %}
```

## Attributes

<ResponseField name="align" type="string" default="stretch">
  How to horizontally align items in this stack

  **Allowed values:**

  * `left`
  * `center`
  * `right`
  * `stretch`
</ResponseField>

<ResponseField name="card" type="boolean" default="false">
  Display the stack contents as a single card when card mode is enabled
</ResponseField>

<ResponseField name="print_break" type="string" default="auto">
  Controls page breaks inside this component in PDF exports. `auto` allows content to flow across pages, `avoid` attempts to keep all content together on one page.

  **Allowed values:**

  * `auto`
  * `avoid`
</ResponseField>

<ResponseField name="width" type="number">
  Set the width of this component (in percent) relative to the page width
</ResponseField>
