Turn shuffle on
"off"Shuffle is off.
Media controls
ShuffleStateIconShows whether shuffled playback is on or off.
Shuffle is off.
"off"Shuffle is off.
"on"Shuffle is on.
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 { ShuffleStateIcon } from "@stateglyph/react";
<ShuffleStateIcon state="off" decorative />