# Generator Gradient Builder

Gradient generator for a hero background with stacked linear, radial and conic layers that exports CSS.

- id: `generator-gradient-builder`
- Page: https://agentic-ui-kit.com/components/generator-gradient-builder
- Live preview: https://agentic-ui-kit.com/live/component/generator-gradient-builder?piece=generator-gradient-builder

## Install

```bash
agentic-ui add generator-gradient-builder
npx shadcn@4.17.0 add @agentic-ui/generator-gradient-builder
```

## Metadata

- **Level:** feature
- **Category:** feature
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** stacked-gradient-layers, linear-radial-conic, colour-stop-editor, oklch-colour-stops, oklch-interpolation, angle-and-position-controls, theme-token-colours, layer-reorder, live-static-preview, presets, versioned-url-state, css-custom-properties-export, tailwind-v4-theme-token-export, tsx-surface-export, copy-to-clipboard, file-download
- **Intents:** configure, create-edit, import-export
- **Suits domains:** saas, analytics, settings, devtools
- **Interaction:** click, keyboard-navigation
- **Screen role:** management
- **Density:** medium
- **Dark mode:** yes
- **Use it for:** gradient generator for a hero background with stacked linear, radial and conic layers that exports CSS, build a multi-stop gradient with OKLCH colours and copy a Tailwind v4 @theme background-image token, CSS gradient builder tool with angle, position and colour stops using my theme tokens, let designers compose a layered gradient background and export a React component
- **Avoid when:** Soft blurred colour glows or mesh backgrounds; use the gradient mesh generator instead., Animated or drifting backgrounds; the exports are static gradients., A single flat colour scale; use the palette scale generator.
- **Preserve when adapting:** controls-preview-code-layout, layer-stop-model, token-colours-by-default
- **Replace when adapting:** presets, sample-content, class-name
- **Adaptation effort:** low
- **Coupling:** low
- **Quality breakdown:** visual 8/10, responsive 8/10, accessibility 9/10, code 9/10
- **npm dependencies:** @agentic-ui/generator-foundation, @agentic-ui/motion, @agentic-ui/tokens, react
- **Registry dependencies:** lib-generator-foundation
