useEyeDropper

useEyeDropper is a custom hook that opens the eye dropper tool and returns the color value.

#FF0000

EyeDropper API is not supported in this browser.

Usage

import { useEyeDropper } from "@yamada-ui/react"
const { supported, onOpen } = useEyeDropper()

Used By Components & Hooks

ColorPicker

ColorPicker is a component used by the user to select a color or enter an arbitrary color value.

ColorSelector

ColorSelector is a component used by the user to select a color.