Skip to content

Bounceapp/lottie

Repository files navigation

@bounceapp/lottie

Package version MIT license PRs Welcome

Lottie wrapper for React Native Web

Platform Compatibility

Android Device Android Emulator iOS Device iOS Simulator Web

Documentation

API Reference

Installation

npx expo install @bounceapp/lottie lottie-react-native lottie-react

Usage

import React from "react"

import { LottieView } from "@bounceapp/lottie"

import lottieAnimation from "./lottieAnimation.json"

const App = () => (
  <LottieView
    style={{ width: 100, height: 100 }}
    autoPlay
    loop
    source={lottieAnimation}
  />
)

export default App

👏 Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

The source code is made available under the MIT license. Some of the dependencies can be licensed differently, with the BSD license, for example.

Portions of src/components/types.ts and src/components/LottieView.react.tsx are adapted from lottie-react-native, licensed under Apache License 2.0. See NOTICE for details.

About

Lottie React Native Web, support to iOS/Android/Web.

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-APACHE

Contributing

Stars

2 stars

Watchers

4 watching

Forks

Packages

 
 
 

Contributors