Expand description
Dioxus Motion - Animation library for Dioxus
Provides smooth animations for web and native applications built with Dioxus. Supports both spring physics and tween-based animations with configurable parameters.
§Features
- Spring physics animations
- Tween animations with custom easing
- Color interpolation
- Transform animations
- Configurable animation loops
- Animation sequences
§Example
use dioxus_motion::prelude::*;
let mut value = use_motion(0.0f32);
value.animate_to(100.0, AnimationConfig::new(AnimationMode::Spring(Spring::default())));
Re-exports§
pub use animations::platform::MotionTime;
pub use animations::platform::TimeProvider;
Modules§
Structs§
- Animation
Sequence - Animation sequence that can chain multiple animations together
- Animation
State - Internal state for an animation
- Animation
Step - Duration
- A
Duration
type to represent a span of time, typically used for system timeouts. - Motion
State
Traits§
- Animation
Manager - Combined Animation Manager trait