Components · Inline Primitives
Renders text with a brand gradient fill.
import { Text Gradient } from '@nexub/react';| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| from | string | — | — | Starting color of the gradient (CSS color value or token). |
| to | string | — | — | Ending color of the gradient (CSS color value or token). |
| direction | 'to-r' | 'to-br' | 'to-b' | — | — | Direction of the gradient. |