> For the complete documentation index, see [llms.txt](https://cardstock-studio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cardstock-studio.gitbook.io/docs/design/templates-design-your-cards/components/outline.md).

# Outline

<figure><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2FtUYoFf2QUE38l3trcKAK%2FScreenshot%202026-05-27%20at%205.59.19%E2%80%AFPM.png?alt=media&amp;token=b3368517-96b7-4a51-aedd-aa4bb23f8bc0" alt="" width="282"><figcaption></figcaption></figure>

<mark style="color:$success;">**Outline**</mark> will draw an outline around the visible shape.

{% hint style="success" %}
If you want an outline around the layer area, use the [Border](/docs/design/templates-design-your-cards/components/border.md) component.
{% endhint %}

***

## Fill Type

### Solid

Classic border, a solid color.

### Gradient

Choose the type of gradient. *Linear* is a directional gradient, *Radial* starts in the center of the area, and *Linear Border* follows the border, and goes out from the edges.

<figure><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2FlmFkLGaNgDTSUxbrzINV%2FScreenshot%202026-05-27%20at%208.21.19%E2%80%AFPM.png?alt=media&amp;token=9de0f0a4-9f69-4ed4-b099-85a2a61f35cd" alt="" width="281"><figcaption><p>Gradient Linear Border with transparent bands.</p></figcaption></figure>

This is a good way to produce a "Shadow" like effect, different from [Outer Glow](/docs/design/templates-design-your-cards/components/outer-glow.md) in that you can set multiple colors and opacity.

***

## Opacity

Handles the overall opacity value of the border.

***

## Thickness

Controls the thickness of the border.

***

## Blend

Determines the blend mode of the visuals.

***

## Dashed Line

Toggle on *Dashed* and then set the *Dash Length* to make the outline a dashed line outline.

<figure><img src="https://2449056524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK6BdQXak9wiY4BdSf9Rq%2Fuploads%2FGaQxARGTgsKwWvziWjUz%2FScreen%20Recording%202026-06-07%20at%2010.43.32%E2%80%AFPM.gif?alt=media&amp;token=12ccb1aa-3569-435c-b7e7-87b1e7979a6a" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cardstock-studio.gitbook.io/docs/design/templates-design-your-cards/components/outline.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
