Type Composition First
Add motion as a behavior with `withMotion(config)` and keep your entities event-driven.
CSS-First Motion for Entities
Variant lifecycle, presence orchestration, and layout transitions for @inglorious/web.

Add motion as a behavior with `withMotion(config)` and keep your entities event-driven.
Uses native `Element.animate()` and gracefully falls back when smooth tweening is unavailable.
Drive transitions via `motionVariantChange` and `removeWithMotion` with phase classes on the host.
`presence.mode = "wait"` serializes exits in a group for predictable UI sequencing.
Enable `layout: true` to animate position and size changes with browser-native transforms.
Use `motionLayoutId` to animate between related elements across UI states.