Color pill
import { ColorPill } from "@arcadia/ui";ColorPill
valuerequired- string
- The colour as the text writes it: a hash and 3, 4, 6 or 8 hex digits. Anything else is drawn as plain text.
disabled- boolean
- Default:
false - Its field is turned off: the text takes the disabled ink.
inDraft- boolean
- Default:
false - In a textarea mirror, paint the colour on the edge without adding room to the text.
rootStyle- RootStyle
- Typed StyleX override: layout.
Rest props go to HTMLAttributes<HTMLSpanElement>.
State machine
#2b6cff