Home > @uniformdev/design-system > SwatchLabel

SwatchLabel() function

A colored label component that uses the same color variants as Swatch.

Signature:

Parameters

Parameter

Type

Description

{ variant, size, label, rightSlot, tooltip, leftSlot, }

(not declared)

input

SwatchLabelProps

Returns:

_emotion_react_jsx_runtime.JSX.Element

Example