Stop Rebuilding UI

Music Sleep Timer

A music sleep timer block for React and Next.js with preset duration buttons, large countdown display, end-of-track option, fade-out toggle, and cancel action built with shadcn/ui and Tailwind CSS

Scroll to load preview

Schedule automatic playback stops with this calm sleep timer block for React and Next.js. Features preset duration buttons for 15, 30, 45, and 60 minutes, a custom time input, a large animated countdown with NumberFlow transitions, an end-of-track option, fade-out toggle, and a cancel button. Built with TypeScript, shadcn/ui Button and Switch components, framer-motion entrance animations, and Tailwind CSS. Perfect for music player apps, meditation platforms, and podcast listening interfaces.

FAQ

Last updated on March 30, 2026

Was this page helpful?

Sign in to leave feedback.