Lights-off mode for an album shelf
A shelf of album covers where switching 'lights off' dims the room, the covers glow softly and the selected record pops forward.
By Nick Pyl (@nickpyl) · View original post
Originally built with SwiftUI. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More toggle & switch animations in SwiftUI →
Prompt
Build a 'lights off' mode for a music collection screen in SwiftUI.…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Timing
- 600ms
- Easing
- ease
- Scale
- 1.1
- Details
- Reduced-motion fallback · Blur
Keyframes
Six frames from the clip, left to right. Agents get this sheet as a reference with the prompt.

Questions
- How do I build the lights-off mode for an album shelf in SwiftUI?
- Copy the Kites Motion prompt for this clip (free account) and paste it into Claude Code, Cursor or Codex, or send it there in one click. The prompt describes the layout, timing and interactions, and links a keyframe sheet so your agent can match the motion. It is written for SwiftUI and can be rewritten for React, React Native, HTML/CSS.
- What are the motion details?
- Timing: 600ms. Easing: ease. Scale: 1.1. Details: Reduced-motion fallback · Blur.
- Who designed this animation?
- Nick Pyl (@nickpyl) shared it on X. Kites Motion links back to the original post.
More from Nick Pyl
All by @nickpyl →Similar animations
More toggle & switch animations →
Bank app with a live design control panelToggle
Connect-an-app modal with stepped authTransition
Lamp product page that switches modelsTransition
Dark users dashboard with an avatar clusterCards
Pricing card with gooey text morphText effect
Dashboard that dives from overview into projectsTransition
Report that reflows as you drag its edgeTransition
Moodboard canvas that zooms into each itemTransition