qwik-lottie-web
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

Qwik Lottie Web ⚡️


Install

npm i qwik-lottie-web
pnpm i qwik-lottie-web
yarn add qwik-lottie-web

Usage

import { component$, useSignal } from "@builder.io/qwik";

import { QwikLottie } from "qwik-lottie-web";

import * as confetti from "./assets/confetti.json";
export default component$(() => {
   const container = useSignal<HTMLElement>();
  return (
    <QwikLottie container={container.value} animationData={confetti} />
  );
});

Readme

Keywords

Package Sidebar

Install

npm i qwik-lottie-web

Weekly Downloads

6

Version

0.4.0

License

MIT

Unpacked Size

1.23 MB

Total Files

9

Last publish

Collaborators

  • harshdev