Upgrade button that glints for attention
A persistent 'Upgrade' pill in the app header that periodically glints with a light sweep and a lightning icon pulse, without being annoying.
By Bartek (@bartek_marzec) · View original post
Originally built with SwiftUI. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More button animations in SwiftUI →
Prompt
Build a persistent upgrade button in SwiftUI.…
Free forever. Available for React, SwiftUI, React Native and HTML/CSS.
Build it with
Motion details
- Details
- Reduced-motion fallback
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 upgrade button that glints for attention 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?
- Details: Reduced-motion fallback.
- Who designed this animation?
- Bartek (@bartek_marzec) shared it on X. Kites Motion links back to the original post.
More from Bartek
All by @bartek_marzec →Similar animations
More button animations →
Liquid metal buttons that reflect the cursorButton
Pink metallic buttons that catch the lightButton
Checkout that reads frustration from the cursorInput
Payment cards with liquid distortion wavesCards
Voice dictation glow along the screen edgeMicrointeraction
AI voice input with a living glowInput
Progressive blur header in SwiftUIScroll
Buttons that light up before you clickButton