0.0.2 • Published 1 year ago

luma-fluid-lib v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

luma-fluid-lib

A library for creating fluid animations like Luma website.

NPM Version NPM Install Size

demonstration effect

Demo site: https://luma-fluid-demo.vercel.app/

Integrate

$ npm install luma-fluid-lib

Usage

<XFluid
    logoSrc='https://s2.loli.net/2024/01/29/mRrH5IQYucl4GCp.png'
    textureSrc='https://s2.loli.net/2024/01/29/rg3meSMxcUsRCao.jpg'
    width={1300} height={800}
    onError={(error: Error) => console.error(error)}
/>

Or use local image path.

<XFluid
    logoSrc={LogoImage}
    textureSrc={TextureImage}
    width={1300} height={800}
    onError={(error: Error) => console.error(error)}
/>