Intent UI

Color Area

Component

About

A 2D draggable color picker surface for adjusting saturation and brightness (or similar color channel pairs) with an accessible thumb handle.

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

Code

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

Usage.tsx

import { ColorArea } from "@/components/ui/color-area";

export default function ColorAreaDemo() {
  return (
    <div className="flex items-center justify-center p-10">
      <ColorArea defaultValue="hsb(219, 58%, 93%)" />
    </div>
  );
}

Dependencies

More by Intent UI

View all
  • Radar Chart

    Radar Chart

    223
  • Radial Chart

    Radial Chart

    80
  • Bar Chart

    Bar Chart

    45
  • Pie Chart

    Pie Chart

    31
  • Toggle Group

    Toggle Group

    27
  • Loader

    Loader

    24
  • Progress Bar

    Progress Bar

    19
  • Color Slider

    Color Slider

    14

Explore more

Part of Intent UI — browse the full library on 21st.dev.