Standard contrast
"standard"Standard contrast.
Appearance
ContrastStateIconRepresents contrast across standard, high, soft states.
Standard contrast.
"standard"Standard contrast.
"high"High contrast.
"soft"Soft contrast.
Implementation
The component stays presentational. Your application remains in control of async work and business logic. The state prop is a TypeScript string literal union — pass an invalid state and you'll get a type error at build time.
import { ContrastStateIcon } from "@stateglyph/react";
<ContrastStateIcon state="standard" decorative />