New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@furystack/shades-lottie

Package Overview
Dependencies
Maintainers
1
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@furystack/shades-lottie

Lottie animation player wrapper for FuryStack Shades

latest
Source
npmnpm
Version
9.0.5
Version published
Maintainers
1
Created
Source

@furystack/shades-lottie

Lottie animation player wrapper for FuryStack Shades.

This package provides TypeScript JSX type definitions for the lottie-player web component, allowing you to use Lottie animations in your Shades applications with full type safety.

Installation

npm install @furystack/shades-lottie
# or
yarn add @furystack/shades-lottie

You also need to include the lottie-player library in your application. Add it to your HTML:

<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>

Usage

Import the package to register the JSX types, then use the lottie-player element in your components:

import '@furystack/shades-lottie'
import { Shade, createComponent } from '@furystack/shades'

const MyComponent = Shade({
  customElementName: 'my-animation',
  render: () => (
    <lottie-player
      src="https://assets.lottiefiles.com/packages/lf20_example.json"
      autoplay
      loop
      style={{ width: '300px', height: '300px' }}
    />
  ),
})

Props

The lottie-player element accepts the following props:

PropTypeDescription
srcstringURL to the Lottie JSON animation file (required)
autoplaybooleanStart playing automatically
loopbooleanLoop the animation
controlsbooleanShow playback controls
speednumberPlayback speed (1 = normal)
directionnumberPlayback direction (1 = forward, -1 = reverse)
modestringPlay mode
hoverbooleanPlay on hover
countnumberNumber of times to play
backgroundstringBackground color
renderer'svg' | 'canvas'Rendering mode
styleCSSStyleDeclarationInline styles
onclick(e: MouseEvent) => voidClick handler

Keywords

FuryStack

FAQs

Package last updated on 27 Mar 2026

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