# Gradient Text

> A text component that applies an animated gradient effect to text and optionally adds a gradient border. It features smooth color transitions, customizable animation speeds, and an optional animated border.  Features: 	•	Smooth gradient animations 	•	Customizable color stops 	•	Adjustable animation speed 	•	Optional animated border 	•	Responsive design 	•	TypeScript support 	•	Dark mode compatibility 	•	Accessible text rendering 	•	Custom cursor interactions 	•	Flexible styling options

- Author: [deleted_rb](https://21st.dev/@deleted_reactbits)
- Library: deleted_rb
- License: mit
- Tags: Text, Gradient, Text Effect
- Live preview: https://21st.dev/@deleted_reactbits/components/gradient-text

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/deleted_reactbits/gradient-text?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/text.md
