n-gradient-text

Render gradient text with configurable size and type in Vue 3.

8|3|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/jiaiyan/naive-ui-skills --skill n-gradient-text
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n-gradient-text
Source: https://github.com/jiaiyan/naive-ui-skills/tree/main/components/n-gradient-text
Command: npx skills add https://github.com/jiaiyan/naive-ui-skills --skill n-gradient-text

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gradient text rendering solves the problem of dull, static typography by enabling decorative, gradient-styled text within Naive UI.

Core Features & Use Cases

  • Preset gradient types: Primary, info, success, warning, and error gradients for quick styling.
  • Custom gradients: Define arbitrary gradient colors and angles to match brand.
  • Size and typography control: Adjust font size to fit headings or body text.

Quick Start

Render a heading using n-gradient-text with a brand gradient and a font size of 32.

Frequently Asked Questions about n-gradient-text

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render gradient text within Naive UI in a Vue 3 project?

To render gradient text within Naive UI, use a dedicated component that applies decorative gradient styling to typography. It replaces dull text with stylized headings by supporting props for gradient colors, size, and type across Vue 3 projects.

Can I apply custom gradient colors and angles to text in Naive UI?

Yes, you can apply custom gradient colors and angles to text in Naive UI. The component supports defining arbitrary gradient colors and angles to match your brand, alongside preset gradient types like primary, info, success, warning, and error.

What's the best way to style brand-inspired headings in Vue 3?

The best way to style brand-inspired headings in Vue 3 is using gradient text rendering. You can define a custom brand gradient and adjust the font size to fit headings, replacing dull typography with decorative, stylized UI elements.

Does the Naive UI gradient text component support typography size control?

Yes, the Naive UI gradient text component supports typography size control. You can adjust the font size using props to ensure the decorative gradient text fits various contexts, whether for large headings or standard body text.

When should I use gradient text instead of solid typography for UI elements?

You should use gradient text instead of solid typography when you need decorative, standout headings for brand-inspired UI elements. It solves the problem of dull, static typography by enabling gradient-styled text for emphasis within Naive UI.