Animation Asset Infrastructure
Component Detail
Infrastructure
medium complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Infrastructure layer that bundles and manages Rive or Lottie animation assets used in the Annual Summary Screen. Handles asset versioning, lazy loading, and reduced-motion detection integration so the UI layer can request the correct animation or static asset based on system accessibility settings.
animation-asset-infrastructure
Responsibilities
- Bundle and version animation asset files (Rive/Lottie)
- Expose lazy-loading interface for animation assets
- Detect system reduced-motion preference and expose to UI layer
- Provide static image fallbacks for each animation
Interfaces
loadAnimation(animationKey)
isReducedMotionEnabled()
getStaticFallback(animationKey)
preloadSummaryAssets()