Cold
"cold"Cold.
Weather and time
TemperatureStateIconRepresents temperature across cold, mild, hot states.
Cold.
"cold"Cold.
"mild"Mild temperature.
"hot"Hot.
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 { TemperatureStateIcon } from "@stateglyph/react";
<TemperatureStateIcon state="cold" decorative />