DotStatusColor
Dots are component adornments, typically used to communicate a numerical value or indicate the status or identity of a component to the end-user.@coinbase/cds-web@8.13.6
ImportSourceView source codeStorybookView StorybookFigmaView Figma
import { DotStatusColor } from '@coinbase/cds-web/dots/DotStatusColor'
Sizes
Loading...
Live Codefunction Sizes() { const SIZES = ['xs', 's', 'm', 'l']; return ( <VStack gap={2}> {SIZES.map((size) => ( <VStack gap={1} key={`DotStatusColor-size-${size}`}> <DotStatusColor variant="negative" size={size} /> </VStack> ))} </VStack> ); }
Variants
Loading...
Live Codefunction Variants() { const VARIANTS = ['positive', 'negative', 'primary', 'fgMuted', 'warning']; return ( <VStack gap={2}> {VARIANTS.map((variant) => ( <VStack gap={1} key={`DotStatusColor-variant-${variant}`}> <DotStatusColor variant={variant} /> </VStack> ))} </VStack> ); }