qwik-lottie-web
v0.4.0
Published
Qwikjs with lottie-web integration
Downloads
13
Readme
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} />
);
});