Movie review page that dims the lights

A film review page ('Aftersun') where switching appearance fades the whole page from white to black like a cinema going dark.

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 an appearance switch for a movie review screen in SwiftUI.…

Free forever. Available for React, SwiftUI, React Native and HTML/CSS.

Build it with

Motion details

Timing
700ms
Easing
ease-in-out
Details
Reduced-motion fallback

Keyframes

Six frames from the clip, left to right. Agents get this sheet as a reference with the prompt.

Six keyframes from Movie review page that dims the lights

Questions

How do I build the movie review page that dims the lights 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: 700ms. Easing: ease-in-out. Details: Reduced-motion fallback.
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 →