Dev Design Library

Color Swatch

A visual preview of a color value with accessibility support.

Color Swatch preview
Library
HeroUI
Framework
React
Type
component
License
Apache-2.0
Install
npm install @heroui/react
Files
  • packages/react/src/components/color-swatch/color-swatch.tsx
  • packages/react/src/components/color-swatch/index.ts
  • packages/styles/src/index.ts
  • packages/styles/src/utils/index.ts
  • packages/styles/src/components/index.ts
  • packages/react/src/utils/compose.ts
Source
https://github.com/heroui-inc/heroui

Categories

More from HeroUI