github meursyphus/ssgoi v4.0.0
v4.0.0 - Physics Revolution

12 hours ago

🚀 SSGOI v4.0.0 - Physics Revolution

This is a major release that completely transforms how animations work in SSGOI. We've moved from a spring-only physics system to a fully customizable physics engine.

✨ Highlights

🔧 Customizable Physics Integrators

Previously, SSGOI only supported spring physics. Now you can use any physics equation for your animations:

  • Spring Integrator - Classic spring physics with damping and stiffness
  • Inertia Integrator - Ease-in physics for natural deceleration animations
  • Double Spring Integrator - Advanced dual-spring system for complex motions
  • Custom Integrators - Create your own physics equations!

📱 New Mobile-First Transitions

Three new view transitions designed specifically for mobile experiences:

  • sheet() - iOS-style bottom sheet transitions with natural drag behavior
  • depth() - Layered depth transitions for hierarchical navigation
  • snap() - Directional snap transitions for carousel-like navigation

⚙️ Physics Options for All View Transitions

Every view transition now accepts a physics option, allowing you to customize the animation behavior:

scroll({ 
  direction: 'up',
  physics: { stiffness: 300, damping: 30 }
})

📦 Package Versions

Package Version
@ssgoi/core 4.0.0
@ssgoi/react 4.0.0
@ssgoi/svelte 4.0.0

🔗 Links


Full Changelog: v3.5.0...v4.0.0

Don't miss a new ssgoi release

NewReleases is sending notifications on new releases.