Welcome to Vanilla Breeze
This bell pulls live notifications from /go/notify/messages — the same contract documented at /docs/concepts/service-contracts/. Static articles like this one are the no-JS / no-backend fallback.
This bell pulls live notifications from /go/notify/messages — the same contract documented at /docs/concepts/service-contracts/. Static articles like this one are the no-JS / no-backend fallback.
Interactive CSS gradient builder with color stops, angle control, interpolation space selection, and one-click CSS export.
The <gradient-builder> component creates interactive CSS gradients with a live preview strip, color stop management, angle and type controls, and color space selection. Export the result as a CSS linear-gradient() or radial-gradient() value. Part of the Design System Pack tooling.
<gradient-builder colors="#6366f1,#ec4899" show-export></gradient-builder>
| Attribute | Type | Default | Description |
|---|---|---|---|
colors | string | #6366f1,#ec4899 | Comma-separated initial stop colors |
type | string | linear | linear or radial |
angle | number | 90 | Gradient angle in degrees (linear only) |
interpolation | string | oklab | Color space: oklab, oklch, srgb |
show-export | boolean | — | Show Copy CSS toolbar |
show-controls | boolean | true | Show type, angle, and space controls |
| Event | Detail | When |
|---|---|---|
gradient-builder:change | { css, stops, type, angle, interpolation } | Any control changes |
The interpolation dropdown controls which color space the browser uses to blend between stops:
<gradient-builder colors="#f59e0b,#ef4444,#8b5cf6" angle="135" show-export></gradient-builder>
<gradient-builder colors="#06b6d4,#3b82f6,#8b5cf6" type="radial" show-export></gradient-builder>
<gradient-builder colors="#ef4444,#3b82f6" interpolation="oklch" show-export></gradient-builder>
Use the gradient builder alongside the Palette Generator to explore color relationships: