---
url: /api/plugins/pantoken/custom-components/src/functions/aiGradientRules.md
---
[pantoken-root](../../../../../index.md) / [plugins/pantoken/custom-components/src](../index.md) / aiGradientRules

# Function: aiGradientRules()

> **aiGradientRules**(`prefix?`): `string`

Beta

Build the AI gradient utility CSS as a global modifier layer for custom surfaces.
The selectors intentionally stay on the bare `--*` modifier form, so they can be reused anywhere
without being tied to the shared InstUI component contract.

## Parameters

### prefix?

`string` = `"instui-"`

## Returns

`string`
