Art mode switch that glows when turned on

A minimal dark toggle labelled Before/After: switching it on sends a neon pink glow blooming around the knob and across the screen.

By Michael Nowak (@mnowakdesign) · View original post

Originally built with HTML/CSS. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS.

Prompt

Build an 'Art Mode' switch on a near-black background in HTML/CSS + a little JS.…

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

Build it with

Motion details

Timing
400ms, 250ms
Easing
cubic-bezier(.34,1.56,.64,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.

Six keyframes from Art mode switch that glows when turned on

Questions

How do I build the art mode switch that glows when turned on in HTML/CSS?
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 HTML/CSS and can be rewritten for React, SwiftUI, React Native.
What are the motion details?
Timing: 400ms, 250ms. Easing: cubic-bezier(.34,1.56,.64,1). Details: Reduced-motion fallback · Blur.
Who designed this animation?
Michael Nowak (@mnowakdesign) shared it on X. Kites Motion links back to the original post.