Lanseringsuke50 % rabatt på ett år AuteurSe planer
SpacesSkaff Pro
Alle komponenter

Swatch picker Gratis

Colours in a row. The ring slides to the one you pick and a tick pops in.

Åpne i editoren
Sky
Karakter
Leken
Registrer deg gratis for å laste ned

Bruk til

  • Product colours, themes, labels.

Ikke til

  • Picking an exact colour. That needs a full picker.

Props

Lest rett fra komponentens egen TypeScript, så de er alltid oppdatert.

PropTypeStandard
swatchesPåkrevd{ id: string; color: string; label: string }[]
valuePåkrevdstring
onChangePåkrevd(id: string) => void
labelPåkrevdstring

Bedre med en skill

Gi agenten din en, så bruker den Swatch picker slik den er tenkt.

Spacing and buttonsGratis

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

$npx velvo skill spacing-and-buttons
Les skillen
Motion with weightGratis

Keeps its springs and press feel intact when your agent wires it into your app.

$npx velvo skill velvo-motion
Les skillen

Specs

Category
Controls
Tier
Free
Built with
React and TypeScript
Files
17
Size
375 KB
Needs
framer-motion
Install
npx velvo add swatch-picker
Works with
Next.js, Vite, Remix, Expo web

Licence

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

Not for resale as a component or a UI kit.

Tags

controlsfreereact
NesteRadio cards