kemiljk

Color Picker

Forms 6

About

A color input built on the real native input[type=color] with a decorative swatch overlay and an editable hex text field that stay in sync with the same value.

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

Code

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

Usage.tsx

import { ColorPicker } from "@/components/ui/color-picker";

export default function ColorPickerDemo() {
  return <ColorPicker label="Accent color" defaultValue="#f59e0b" />;
}

More by kemiljk

View all
  • Switch

    Switch

    9
  • Combobox

    Combobox

    1
  • Resizable

    Resizable

    1
  • Progress

    Progress

  • Navigation Menu

    Navigation Menu

  • Textarea

    Textarea

  • Number Field

    Number Field

  • Toggle

    Toggle

More in Forms

View all
  • Premium Auth

    Premium Auth

    593
  • Contact Form

    Contact Form

    28
  • Form

    Form

    4
  • Login 1

    Login 1

    70
  • Book A Demo 1

    Book A Demo 1

    94
  • Contact Card

    Contact Card

    1.1K
  • HeroUI Field Error

    HeroUI Field Error

    13
  • Form [react-aria-components]

    Form [react-aria-components]

    19