export const title = "Color picker components" export const description = "Powerful and customizable React color picker components built for modern applications and websites. These color pickers are built using React Aria and styled with Tailwind CSS." import * as Demos from "@/components/application/color-picker/color-picker.demo.tsx"; ## Installation You can add this color picker component using our CLI or manually: ```bash npx untitledui@latest add color-picker ``` Copy the files below into your project: Great! Now you can start using the color picker components in your project by just copy/pasting our examples below. ## Color picker examples Below are examples and variations of this color picker component: ### Color picker {{ tocOnly:true }} ### Color swatch picker The color swatch picker provides a grid-based color selection experience with a preview area and a hex input field. This is useful when you want users to quickly pick from a predefined set of colors. ### Saved swatches small {{ tocOnly:true }} ### Saved swatches medium {{ tocOnly:true }} ### Brand swatches Brand color swatches provide a curated palette of your brand colors based on Tailwind CSS v4.3 color variables. This is useful for design systems where users need to pick from a consistent set of brand colors. ### Gray swatches {{ tocOnly:true }} ### Minimal picker The minimal picker provides a compact color selection experience with just the eye dropper, hue slider, alpha slider, and color format input. This is ideal for space-constrained UIs where you need basic color picking functionality. ### Hue slider The standalone hue slider allows users to select a hue value across the full color spectrum. It displays a swatch preview of the selected color alongside the slider. ### Transparency slider The standalone transparency (alpha) slider allows users to control the opacity of a selected color. It displays a checkered background to visualize the transparency level. ### Palette picker The palette picker displays the full Tailwind CSS color palette in a grid layout, allowing users to select from a comprehensive range of colors. It also includes an opacity slider for fine-tuning the selected color.