Color Picker
npx @intellihelper/cli@latest add color-pickerSwatches + hex
Popover with swatches, native input, and hex field.
About this component
Color Picker is part of Forms. Swatches, hex entry, and native picker in a glass popover.
Install with npx @intellihelper/cli@latest add color-picker. Files land in your project so you can customize styles, variants, and behavior without a locked package.
Prefer AI-assisted install? Use the agent plugin or the MCP server.
When to use Color Picker
Use when
- Use Color Picker when swatches, hex entry, and native picker in a glass popover.
- Collecting user input with labeled fields, selects, checkboxes, or dates.
- Settings screens that need glass chrome around standard controls.
Avoid when
- Read-only display of data — use typography or tables.
- Complex multi-page wizards without a stepper or progress pattern.
Accessibility notes
- Every control needs a visible label (or aria-label when space is constrained).
- Associate helper and error text with aria-describedby.
- Preserve focus order; do not trap keyboard users outside the form.
Interactive primitives build on accessible patterns (including Radix where applicable). Always verify focus order and contrast on your mesh or product background.
Composition tips
- Stack field + label + description vertically with consistent spacing.
- Use native-select only when you need zero-JS progressive enhancement.
FAQ
Related components
View all forms →Input
Translucent glass text fields with chrome and outline variants.
Open →Label
Accessible form labels with chrome, muted, and required styles.
Open →Password Input
Glass password field with show/hide toggle and field states.
Open →OTP Input
One-time code slots with paste support and completion callback.
Open →