Play
"idle"Media is ready to play.
Media controls
PlaybackStateIconRepresents idle, buffering, playing, and paused media.
Media is ready to play.
"idle"Media is ready to play.
"buffering"animatedMedia is buffering.
"playing"Media is currently playing.
"paused"Media is paused.
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 { PlaybackStateIcon } from "@stateglyph/react";
<PlaybackStateIcon state="idle" decorative />