arikchakma

Cromia Color Picker

Forms 47

About

A polished color picker built from Cromia headless primitives, with area selection, hue and alpha sliders, editable channels, and preset swatches.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Cromia Color Picker to your project and fits it to your theme.

Code

How Cromia Color Picker is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import CromiaColorPicker from "@/components/ui/cromia-color-picker"

const settings = {
  hue: 217,
  saturation: 76,
  brightness: 96,
  alpha: 100,
}

export default function CromiaColorPickerDemo(
  props: Partial<typeof settings>,
) {
  const values = { ...settings, ...props }

  return (
    <div className="flex min-h-[560px] w-full items-center justify-center p-8">
      <CromiaColorPicker
        hue={values.hue}
        saturation={values.saturation}
        brightness={values.brightness}
        alpha={values.alpha}
      />
    </div>
  )
}

More by arikchakma

View all
  • Cromia Compact

    Cromia Compact

    18
  • Cromia Channels

    Cromia Channels

    14
  • Cromia Swatches

    Cromia Swatches

    10
  • Unit Field

    Unit Field

    2

More in Forms

View all
  • Premium Auth

    Premium Auth

    543
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    17
  • Card Studio

    Card Studio

    46
  • Login 2

    Login 2

    10
  • Book A Demo 1

    Book A Demo 1

    80
  • Login 1

    Login 1

    58
  • Input

    Input

    14