> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Function: applyLynxXmlStylePreset()

> **applyLynxXmlStylePreset**(`source`: `string`, `stylePreset?`: `"default"`): `string`

Inject preset CSS into a direct Element PAPI document without changing scripts.

## Parameters

| Parameter     | Type        | Default value |
| ------------- | ----------- | ------------- |
| `source`      | `string`    | `undefined`   |
| `stylePreset` | `"default"` | `'default'`   |

## Returns

`string`
