Primitives
Gradient Editor
CSS gradient editor with draggable stops and live preview.
Composition
The preferred shape for composing the installed primitive from its exported parts.
Parts
Exported compound parts from the installed source.
GradientEditor├── GradientEditorPreview├── GradientEditorTrack├── GradientEditorStop├── GradientEditorStopAdd├── GradientEditorStopColor└── GradientEditorTypeSelectThe refined source installs this primitive from src/registry/sources/refined/ui/gradient-editor.tsx. Install it on its own with the command above, or inspect the source below.
npx shadcn@latest add http://127.0.0.1:3000/r/refined/gradient-editor.jsonInstalled dependencies
Installed with this primitive because the slot depends on them; they are support files, not standalone sidebar items.
Color picker slot
src/registry/sources/refined/ui/color-picker.tsxSupportColor engine
src/registry/lib/color.tsSupportSurface variants
src/registry/sources/refined/surface-variants.tsSupportRaw code
Primary installed primitive source
Gradient editor slot
src/registry/sources/refined/ui/gradient-editor.tsx