Git Product home page Git Product logo

lit-motion's Introduction

Lit Motion

This is a simple Lit adaptor for the fantastic Motion One library.

Getting started

npm i lit-motion

Usage

The main export is a directive. See index.ts for documentation.

Alternatives

  • @lit-labs/motion - This is Lit's first-party animation library. It is lower-level than Motion One in some respects. We recommend using this library over @lit-labs/motion for two specific reasons:

    1. It's much easier to use.
    2. Cross-platform differences are polyfilled/gracefully handled. See https://motion.dev/guides/waapi-improvements for more information.

    The most important difference is this library automatically handles persisting final animation keyframe beyond the animation without using "forward". See https://motion.dev/guides/waapi-improvements#persisting-animation-state for more details.

lit-motion's People

Contributors

jun-sheaf avatar renovate[bot] avatar release-please[bot] avatar

Stargazers

Duc-Thien Bui avatar

Watchers

Randolf J. avatar

Forkers

bdic1

lit-motion's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/setup-node 1e60f620b9541d16bece96c5465dc8ee9832be0b
.github/workflows/publish.yml
  • actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/setup-node 1e60f620b9541d16bece96c5465dc8ee9832be0b
npm
package.json
  • lit ^3.1.2
  • motion ^10.17.0
  • prettier 3.3.2
  • typescript 5.4.5
  • pnpm 9.3.0
nvm
.nvmrc
  • node v20.12.2

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.