Dev Design Library

Color Swatch

Used to preview a color.

Color Swatch preview
Library
Chakra UI
Framework
React
Type
component
License
MIT
Install
npm i @chakra-ui/react @emotion/react
Files
  • packages/react/src/components/color-swatch/index.tsx
  • packages/react/src/styled-system/index.ts
  • packages/react/src/utils/index.ts
  • packages/react/src/components/grid/index.ts
  • packages/react/src/components/grid/grid.tsx
  • packages/react/src/components/grid/grid-item.tsx
  • packages/react/src/components/box/index.ts
  • packages/react/src/utils/call-all.ts
Source
https://github.com/chakra-ui/chakra-ui

Categories

More from Chakra UI