Color Picker Field

Color picker field that draws swatches from your Tailwind palette, with HEX input and name search

Community 182 117/wk MIT v1.0.12

Installation

pnpm add @shefing/color-picker

About

Color Picker Field adds a color input to Payload collections for text colors, background colors and similar choices. Payload has no built-in color input, so editors would otherwise type hex codes by hand and guess at shades. The swatches come from the color scheme defined in your Tailwind setup, so picked colors stay consistent with the site design. Editors can choose a swatch, enter a HEX value, or search colors by name. A background color variant is included for fields that need that preset.

Package info

Package name
@shefing/color-picker
Latest version
1.0.12
Unpacked size
90 kB
License
MIT
Weekly downloads
117
Last publish
May 4, 2026

More from shefing

View profile

Role-based permissions per collection and global, with field-level access

Records who created, edited and published each document in collections and globals

Adds row-based quick filters above collection lists in the admin panel

Attribute-based access control that limits Payload documents by user attributes

Adds a Changes button that diffs unsaved or draft edits against the published version

Similar plugins

More in Fields

Builds site and admin themes from color harmonies, with contrast checks in light and dark

Pedigree fields, relatives and family-tree views for Payload collections

Color, icon, encrypted and unit-aware measurement fields for Payload admin

Adds theme presets, live preview and contrast checks to the Payload admin

Groups Payload fields inside a drawer that opens from a button or icon

Adds a barcode scan button to text fields in the Payload admin panel