Skip to main content

Crate animato_dioxus

Crate animato_dioxus 

Source
Expand description

§animato-dioxus

First-class Dioxus integration for Animato.

This crate exposes Dioxus Signal-backed hooks, style helpers, presence/list/transition components, gesture bindings, platform detection, and portable native-window animation handles. The animation engines remain the renderer-agnostic Animato tween, spring, timeline, keyframe, and physics types; Dioxus only owns reactive state and component rendering.

Re-exports§

pub use presence::AnimatePresence;
pub use presence::AnimatePresence;
pub use transition::PageTransition;
pub use transition::PageTransition;

Structs§

AnimatedStyle
CSS property bag used by Animato Dioxus helpers.
DragConfig
Draggable element configuration.
DragConstraints
Constraints applied to drag position.
DragHandle
Handle returned by use_drag.
GestureConfig
Gesture recognition thresholds.
KeyframeHandle
Control handle for a signal-backed keyframe track.
MotionHandle
All-in-one motion handle.
PinchHandle
Handle returned by use_pinch.
PlatformAdapter
Detects the current Dioxus rendering platform.
PresenceAnimation
Style transition used by AnimatePresence and page/list helpers.
ScrollConfig
Scroll progress configuration.
ScrollProgressCalculator
Pure scroll progress calculator used by hooks and tests.
ScrollTriggerConfig
Scroll trigger configuration.
ScrollTriggerHandle
Scroll trigger handle.
SpringHandle
Control handle for a Dioxus signal-backed SpringN.
SwipeConfig
Swipe detection configuration.
SwipeEvent
Swipe event emitted by use_swipe.
TimelineHandle
Control handle for a Dioxus signal-backed Timeline.
TweenHandle
Control handle for a Dioxus signal-backed Tween.

Enums§

AnimationBackend
Animation backend selected for the active Dioxus target.
DragAxis
Axis filter for drag movement.
Gesture
Gesture emitted by GestureRecognizer.
MotionConfig
Motion transition configuration.
ScrollAxis
Scroll axis used by scroll progress helpers.
SwipeDirection
Direction of a recognized swipe.
TransitionMode
Page transition strategy.

Functions§

AnimatePresence
Mount/hide transition wrapper.
AnimatedFor
Render a keyed list with animation metadata.
PageTransition
Route-change transition wrapper.
css_spring
Animate CSS properties with a spring and return a style-string signal.
css_tween
Animate CSS properties with a tween and return a style-string signal.
route_transition_key
Return an empty route key when router support is not enabled.
stable_key
Convert any hashable key into a deterministic string key.
use_drag
Create a draggable element hook.
use_gesture
Listen for recognized pointer gestures on a target.
use_keyframes
Create a signal-backed keyframe track hook.
use_motion
Create an all-in-one motion hook.
use_pinch
Create a pinch-zoom hook.
use_scroll_progress
Return scroll progress for a target.
use_scroll_trigger
Return a scroll trigger handle for a target.
use_scroll_velocity
Return the current scroll velocity in pixels per second.
use_spring
Create a signal-backed spring hook.
use_swipe
Listen for swipe gestures on a target.
use_timeline
Create a signal-backed timeline hook.
use_tween
Create a signal-backed tween hook.