JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q41295F
  • License MIT

An always interruptable, declarative animation library for React

Package Exports

  • @unstable/addimated

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@unstable/addimated) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

addimated

An always interruptable, declarative animation library for React.

Installation

# use npm
npm install @unstable/addimated

# use yarn
yarn add @unstable/addimated

Usage

Coming soon

Examples

Coming soon

API Reference

Animated Values

createAnimatedValue(initialValue)

createAnimatedValueXY(initialValueXY)

Interpolation

interpolate(value, config)

Animations

spring(value, config)

timing(value, config)

Composite Animations

delay(time)

sequence(animations)

parallel(animations)

stagger(time, animations)

Animated Components

createAnimatedComponent(component)

Built-in Animated Components

  • a
  • button
  • div
  • span
  • img

Hooks

useAnimatedValue(currentValue, [animationFactory])

Easing

Predefined Animations

  • Easing.ease
  • Easing.bounce
  • Easing.back(s)
  • Easing.elastic(bounciness)
  • Easing.bezier(x1, y1, x2, y2)

Standard Functions

  • Easing.linear
  • Easing.quad
  • Easing.cubic
  • Easing.poly

Modifiers

  • Easing.in(easing)
  • Easing.out(easing)
  • Easing.inOut(easing)

Additional Functions

  • Easing.sin
  • Easing.circle
  • Easing.exp
  • Easing.step0
  • Easing.step1