A UnoCSS preset that provides advanced gradient utilities for borders and text.
Read the documentation for detailed usage examples and API reference.
- Border gradients with customizable angles and colors
- Text gradients with multiple color stops
- Compatible with UnoCSS v0.66+
In your project, you can install the unocss-preset-advance-gradients using:
pnpm add -D unocss-preset-advance-gradients
Add preset to your unocss.config.ts file under presets
import { defineConfig } from 'unocss'
import presetAdvanceGradients from 'unocss-preset-advance-gradients'
export default defineConfig({
presets: [
presetAdvanceGradients(),
],
})