---
title: Cursor Twig API
---

# Twig API

## Parameters

### `attr`

- Type: `array`

Custom attributes for the root element.

## Blocks

### `content`

Custom content for the root element, defaults to `''`.
