Swatch
Displays one or multiple colors.
Importing
1
import { Swatch } from '@infinityfx/fluid';Usage
Multiple colors
API reference
Swatch Props
round?
boolean
false
size?
'xsm' | 'sml' | 'med' | 'lrg'
'med'
color?
string | string[]
['transparent']
A single color or an array of colors to display in segments.