AccueilComponentsLottie

Lottie

Lottie animations
core
Default
tsx
export const Default = () => <Lottie loop style={{ width: 32, height: 32 }} source={dotsAnimation} />;
Size
tsx
export const Size = () => <Lottie loop style={{ width: 60, height: 60 }} source={dotsAnimation} />;
Loop
tsx
export const Loop = () => (
<Lottie loop style={{ width: 60, height: 60 }} source={dotsAnimation} onAnimationLoop={console.log} />
);
OneTime
tsx
export const OneTime = () => (
<Lottie loop={false} style={{ width: 60, height: 60 }} source={dotsAnimation} onAnimationFinish={console.log} />
);
Alveole UI Kit — v2.0.0-alpha.30