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

# -x-caret-gradient

APISummary
## Introduction

The `-x-caret-gradient` property sets the gradient used to paint the text insertion caret in editable elements.

## Syntax

```css
input {
  -x-caret-gradient: linear-gradient(to bottom, #3b82f6, #a855f7);
}
```

### Values

- `none`<br />
  Uses the default caret paint.

- [`<gradient>`](/next/api/css/data-type/gradient.md)<br />
  Sets the gradient brush for the caret.

## Formal definition


| Initial value | none |
| Applies to | `input` and `textarea` |
| Inherited | no |
| Animatable | no |


## Formal syntax

```
-x-caret-gradient = none | <gradient>
```

## Differences from the Web

- This is a Lynx-specific property.

## Compatibility


**Compatibility Table**
**Query:** `css.properties.-x-caret-gradient`

**Platform Support**

| Platform | Version Added | Notes |
|----------|---------------|-------|
| Android | ❌ No | - |
| iOS | ❌ No | - |
| HarmonyOS | ❌ No | - |
| Clay Android | ❌ No | - |
| Clay macOS | 4.0 | - |
| Clay Windows | 4.0 | - |
| Web | ❌ No | - |

