luma-fluid-lib
v0.0.2
Published
Animation restoration of the lumalabs.ai website homepage.
Downloads
32
Maintainers
Readme
luma-fluid-lib
A library for creating fluid animations like Luma website.
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)}
/>