arikchakma

Cromia Swatches

Component 10

About

A preset color swatch picker with hue fine-tuning, live color preview, and editable hexadecimal input.

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

Code

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

Usage.tsx

import CromiaSwatches from "@/components/ui/cromia-swatches"

const settings = { hue: 142, saturation: 71, brightness: 77 }

export default function Demo(props: Partial<typeof settings>) {
  const values = { ...settings, ...props }
  return (
    <div className="flex min-h-[560px] w-full items-center justify-center p-8">
      <CromiaSwatches {...values} />
    </div>
  )
}

More by arikchakma

View all
  • Cromia Color Picker

    Cromia Color Picker

    42
  • Cromia Compact

    Cromia Compact

    18
  • Cromia Channels

    Cromia Channels

    14
  • Unit Field

    Unit Field

    2