Detent

•

Design fluid, Apple-like interface motion using cross-platform spring physics, gesture tools, and a comprehensive motion design knowledge base.

Detent provides a powerful toolkit for crafting smooth, Apple-inspired interface motion across a variety of platforms, including SwiftUI, Compose, Material 3, Flutter, and CSS. It offers analytic springs with conversions between various platform vocabularies, advanced gesture physics like momentum projection and rubber-banding, and a rich, sourced knowledge base of motion presets and design principles. Whether you're a designer tuning animations by feel or an AI writing motion code, Detent ensures consistency and precision by working from the same underlying mathematical models, complete with an interactive lab for experimentation and a CLI for terminal use.

主要功能

01Cross-platform spring conversion: Translate spring parameters between SwiftUI, Compose, Material 3, Flutter, and other frameworks.
02Extensive motion presets: Access a sourced knowledge base of approximately 110 motion constants with confidence levels.
030 GitHub stars
04Realistic gesture physics: Implement momentum projection and iOS-style rubber-banding for interactive user interfaces.
05Interactive 'Lab': Experiment with springs, gestures, and design studies in a visual tuning and comparison environment.
06AI integration: A Claude Code plugin and MCP server enable AI assistance for motion design and code generation.

使用案例

01Integrating AI-driven motion design and code generation into existing development workflows.
02Crafting bespoke, fluid animations and interactive gestures for modern mobile and web applications.
03Researching and applying best practices for interface motion and platform-specific interaction patterns.