# Text

You can use the text variables to pass custom text to the visual.

### 1. Configuration <a href="#id-1.-configuration" id="id-1.-configuration"></a>

This section outlines configurations specific to text variables.

**1.1. Value:** Assign a default value for the text variable.

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/iceJljDb3JlCevUDnWl7/image.png" alt=""><figcaption><p>Text variable configuration</p></figcaption></figure>

### 2. Examples <a href="#id-2.-examples" id="id-2.-examples"></a>

**2.1. Set custom text in the header/footer**

**STEP 1:** Create a text variable with the configuration shown below.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2F3oAZDZQqQUgsXCXCjf6H%2Fimage.png?alt=media&#x26;token=4238041d-232f-4daf-a57b-1503322db80c" alt=""><figcaption><p>Text variable configuration</p></figcaption></figure>

**STEP 2:** Insert the text variable in the header - navigate to the Header\&Footer ribbon > Insert > Variables > select the variable to use.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2Fwwt5nyuGHjodsNMPrNcV%2Fimage.png?alt=media&#x26;token=7a85b263-e1ce-4741-a0ee-584d2b972dfd" alt=""><figcaption><p>Inserting a text variable in the header</p></figcaption></figure>

**STEP 3:** Notice how the summary in the header changes as we update the text in the variable.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FhDCxtarHtsG3EOBClS7s%2FUntitled%20Project.gif?alt=media&#x26;token=b6211f46-eded-45fc-a513-a29d2ee0408b" alt=""><figcaption><p>Using text variables in headers</p></figcaption></figure>
