Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

ColorSwatch

ColorPickerは、色の見本を表示するコンポーネントです。

Source@yamada-ui/color-picker

Setting aria-label will make it readable by screen readers.

<ColorSwatch color="#4387f4" aria-label="Blue" />
Copied!

ARIA Roles and Attributes

ComponentRoles and AttributesUsage
ColorSwatchrole="img"Indicates that it is an image.
aria-roledescription="color swatch"Set color swatch.

Edit this page on GitHub

PreviousInfiniteScrollAreaNextDataList