---
title: Sticky Twig API
---

# Twig API

## Parameters

### `content`

- Type: `string`

Content for the sticky element.

### `attr`

- Type: `array`

Custom attributes for the root element.

### `inner_attr`

- Type: `array`

Custom attributes for the inner element.

## Blocks

### `content`

Use this block to set the content of the sticky element, defaults to the [`content` parameter](#content).
