cult-ui
Display
Layout

bg-media

A full screen background media component for videos or images.

button
hover
positioning
text
transition

Source Code

Files
bg-media
1import BackgroundMedia from "../ui/bg-media"
2 
3export function BgMediaDemo() {
4  return (
5    <div className="w-full ">
6      <div className="md:min-w-[20rem] ">
7        <BackgroundMedia
8          type="video"
9          variant="light"
10          src="https://openaicomproductionae4b.blob.core.windows.net/production-twill-01/c74791d0-75d2-48e6-acae-96d13bc97c56/paper-planes.mp4"
11        />
12      </div>
13    </div>
14  )
15}