Неделя запускаСкидка 50% на год AuteurТарифы
Все компоненты

Colour picker Pro

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

Открыть в редакторе
Summer Run12 km · Sunday 7amJoin
Stops
FF9500100%
FF2D55100%
AF52DE100%

Colours

Характер
Игривый

Добавить в приложение

$npx velvo add color-picker

Для Claude Code, Cursor и любого проекта с терминалом.

Подходит для

  • Themes, brand colours, anything people personalise.

Не подходит для

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

Пропсы

Прочитаны прямо из TypeScript компонента, поэтому всегда актуальны.

<ColorPicker />

ПропсТипПо умолчанию
valueОбязательныйstring
onChangeОбязательный(css: string) => void
gradientsbooleantrue
presetsstring[]

<ColorField />

ПропсТипПо умолчанию
valueОбязательныйstring
onChangeОбязательный(css: string) => void
labelОбязательныйstring
gradientsbooleantrue
presetsstring[]
disabledboolean

Лучше с навыком

Добавьте навык агенту, и он будет использовать Colour picker так, как задумано.

Colour and hierarchyБесплатно

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

$npx velvo skill colour-and-hierarchy
Открыть навык
Spacing and buttonsБесплатно

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

$npx velvo skill spacing-and-buttons
Открыть навык

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
ДальшеLiquid toggle