Splashwater Videomasking
Splashwater Videomasking is a React and Tailwind CSS media component from UI Layouts, licensed MIT. Copy it and paste it into your project.
UI Layouts
MIT
media
What it is
Splashwater Videomasking is a React and Tailwind CSS media component from UI Layouts, licensed MIT. Copy it and paste it into your project.
How to use it
Open it in the catalogue, press copy, and paste it into your project. The prompt you copy carries the code and the rules that tell your agent to reproduce it without changing anything.
Five free copies a month. No card.
Needs
npm i motion
Licence
This component comes from UI Layouts and is redistributed under the MIT licence, which permits commercial use. The copyright notice travels with the code.
Splashwater Videomasking
import React from 'react';
function SplashWaterVideoMasking() {
return (
<>
<section className='gap-2 dark:bg-black bg-white border rounded-lg p-5'>
<figure className='relative '>
<video
autoPlay
muted
loop
style={{
maskImage: "url('/splash-center.svg')",
maskSize: 'contain',
maskRepeat: 'no-repeat',
maskPosition: 'center',
}}
className='w-full relative max-h-136 object-cover aspect-square '
>
<source
src='https://videos.pexels.com/video-files/7710243/7710243-uhd_2560_1440_30fps.mp4'
type='video/mp4'
/>
</video>
</figure>
</section>
</>
);
}
export default SplashWaterVideoMasking;