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

# Card

A flexible wrapper block that lets you nest other theme blocks inside it to create a card-style callout, where the background contrasts with the page to draw attention or improve readability.

<figure><img src="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2Fsmmcs8QfTPHy9awDPmUZ%2FPrimavera%20-%20Luxury%20Shopify%20Theme%20by%20Ultramarina%20%E2%80%93%20Primavera%20Composition%202025-05-13%20at%205.43.29%20pm.jpg?alt=media&amp;token=8a2537b6-d71a-4a0f-a7e9-13ec4bff3185" alt=""><figcaption><p>A card block inside an image banner on <a href="https://themes.shopify.com/themes/primavera/styles/composition">Composition</a></p></figcaption></figure>

{% hint style="success" %}
Available in version 1.1.0 and later
{% endhint %}

### Block settings

* **Width**: Choose **adapt to content** so it adapts to its widest child block or **container width** so it takes up the full width of the container (usually a setting in the parent section).
* **Padding**: Determines the spacing around the child blocks.
* **Enable background blur:** Applies to background gradients with transparency.

{% hint style="info" %}
Can't find the setting you're looking for?  The following settings are explained in detail in [common settings](/common-settings.md):

* Color scheme
* Borders
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ultramarinastudios.com/blocks/card.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
