Media
v1.0.0Added in 1.0.0
An iOS-style stepped progress track with a play, pause and replay button, whose active step fills as it plays.
Press play to start the sequence. The current step stretches into a bar and fills as it runs, then shrinks to a filled dot when it hands off to the next one. Press again to pause mid-fill; the play icon splits into the pause bars as it goes. At the end it fades into a replay arrow. With seekable on, tap any step to jump to it and keep playing; the dots keep a finger-sized tap target and a visible focus ring for keyboard users.
npx wingo-ui@latest add step-playerStep 1 of 4