Swiftui Microinteractions

    by Vishal Paliwal

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    Swiftui Microinteractions

    by Vishal Paliwal

    2

    Pro-grade SwiftUI microinteractions with spring physics, liquid glass effects, and haptic synchronization.

    Free

    5 installs5.0 (1 review)

    See it in action

    You say

    Create a snappy card interaction that rips with anticipation when dragged and has a heavy haptic hit when dismissed.

    Your agent does

    🎯 Archetype: Gesture Card ⚡ Physics: Snap (0.35/0.5) for high-tension return 🎮 Haptics: lightImpact on drag, heavyImpact at 120pt threshold 🏗️ State: @State private var dragOffset = CGSize.zero

    (Clean, compilable SwiftUI code implementing a physics-aware card with DragGesture and haptic triggers.)

    About this skill

    The problem

    Standard SwiftUI animations often feel linear and robotic. Developers struggle to implement the complex spring physics, haptic synchronization, and fluid "metaball" effects that define premium iOS interfaces.

    What it does

    • Generates complete, compilable SwiftUI files featuring advanced spring physics and gesture-driven interactions.
    • Integrates CoreHaptics automatically, timing haptic triggers to animation phases like thresholds and impacts.
    • Implements iOS 26 Liquid Glass effects with backwards-compatible fallbacks for older OS versions.
    • Automates SF Symbols 7 "draw-on" and variable color animations with proper state management.
    • Synchronizes Canvas-based liquid morphing and outline-tracing animations with real touch gestures.

    Frameworks & tools

    SwiftUI, CoreHaptics, SF Symbols 7, Xcode, Asset Catalog integration.

    Why this beats prompting it yourself

    General-purpose LLMs frequently Hallucinate SwiftUI physics parameters or fail to handle the complex state logic required for SF Symbol transitions. This skill uses a strict "Defaults Contract" to ensure HIG compliance while injecting professional-grade animation curves (stretchy, snappy, precision-stiff) that are difficult to tune manually.

    Use cases

    • Creating high-end button interactions with anisotropic scaling and haptic feedback.
    • Building liquid-style toggle switches and morphing glass containers.
    • Implementing velocity-aware carousel paging with predicted end-translation logic.
    • Generating signature-style outline tracing for loaders and success states.

    Known limitations

    Requires iOS 17+ for advanced symbol effects and iOS 26 for native Liquid Glass features. Does not generate external image assets; relies on existing project assets or placeholders.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    5.0
    1 review
    5
    1
    4
    0
    3
    0
    2
    0
    1
    0

    5 people have installed this skill.

    Verified Download
    28 days ago
    Samuel Rose

    Trust & safety

    Security scanned

    Verified clean 27 days ago

    • Free forever, no account required

    Installs5
    Listed27 days ago

    Creator

    iOS & SwiftUI dev 🍎 I make apps feel premium Builder: MedLogsRx · IngrediCheck legendary-Animo (167★) · DM to work

    Frequently Asked Questions

    Popular in Frontend & Design

    Free