Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-lottie

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-lottie

lottie animation view for React

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
222K
decreased by-17.19%
Maintainers
1
Weekly downloads
 
Created
Source

Lottie Animation View for React

npm version

Demo

https://chenqingspring.github.io/react-lottie/

Why Lottie?

Flexible After Effects features

We currently support solids, shape layers, masks, alpha mattes, trim paths, and dash patterns. And we’ll be adding new features on a regular basis.

Manipulate your animation any way you like

You can go forward, backward, and — most importantly — you can program your animation to respond to any interaction.

Small file sizes

Bundle vector animations within your app without having to worry about multiple dimensions or large file sizes. Alternatively, you can decouple animation files from your app’s code entirely by loading them from a JSON API.

Learn morehttp://airbnb.design/lottie/

Installation

Install through npm:

npm install --save react-lottie

Usage

Import react-lottie and after-effect.json as animation data

import Lottie from 'react-lottie';
import * as animationData from './pinjump.json'

Set movinbody config into lottie view

const defaultOptions = {animationData: animationData};
<Lottie options={defaultOptions} height={500} width={500}/>

License

MIT

FAQs

Package last updated on 22 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc