Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

Colour picker Pro

Any colour or gradient, the way Figma does it: a saturation square, hue and opacity, stops you drag, the eyedropper.

Ouvrir dans l’éditeur
Summer Run12 km · Sunday 7amJoin
Stops
FF9500100%
FF2D55100%
AF52DE100%

Colours

Caractère
Joueur

Ajoutez-le à votre app

$npx velvo add color-picker

Pour Claude Code, Cursor ou tout projet avec un terminal.

À utiliser pour

  • Themes, brand colours, anything people personalise.

Pas pour

  • Picking from a fixed set. Use a swatch picker.

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

<ColorPicker />

PropTypePar défaut
valueObligatoirestring
onChangeObligatoire(css: string) => void
gradientsbooleantrue
presetsstring[]

<ColorField />

PropTypePar défaut
valueObligatoirestring
onChangeObligatoire(css: string) => void
labelObligatoirestring
gradientsbooleantrue
presetsstring[]
disabledboolean

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Colour picker comme prévu.

Colour and hierarchyGratuit

Picks colours that keep it readable and calm, in light and dark.

$npx velvo skill colour-and-hierarchy
Lire la skill
Spacing and buttonsGratuit

Sizes and spaces it on the same scale as the rest of the page, so it sits right.

$npx velvo skill spacing-and-buttons
Lire la skill

Specs

Category
Controls
Tier
Pro
Built with
React and TypeScript
Files
18
Size
400 KB
Needs
framer-motion
Install
npx velvo add color-picker
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo Pro licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

controlsgestureproreact
SuivantLiquid toggle