@icon-animation-engine/core
v4.0.0
Published
The foundation of the Icon Animation Engine. This package contains the framework-agnostic logic for animation resolution, registry management, and type definitions.
Readme
@icon-animation-engine/core
The foundation of the Icon Animation Engine. This package contains the framework-agnostic logic for animation resolution, registry management, and type definitions.
Features
- Animation Registry: Centralized management of animation tokens.
- Resolution Engine: Logic to transform animation tokens into CSS classes.
- Type Definitions: Robust TypeScript types for the entire engine.
- Zero Dependencies: Lightweight and fast.
Installation
npm install @icon-animation-engine/coreUsage
This package is intended for internal use by framework adapters or for building custom animation engines.
import { resolveAnimations } from '@icon-animation-engine/core';
const classes = resolveAnimations('hover:lift');
// Output: ['iae-hover-lift']Part of the Icon Animation Engine
