Componentmedia1.36 KB gzipZero dependencies

Video Frame

Cinema screening container with sprocket edges and play overlay.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add video-frame

Or install the full npm package:

npm install bigbullui

Usage

tsx7 lines
import { VideoFrame } from "@/components/ui/video-frame"; <VideoFrame  title="CINEMA MATINEE"  reelNumber="REEL-01"  duration="01:30:00"/>

Source code

video-frame.tsx + 1 helper

Zero third-party dependencies (2 local files shown in tabs below).

tsxvideo-frame.tsx127 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface VideoFrameProps extends React.HTMLAttributes<HTMLDivElement> {  title?: string;  reelNumber?: string;  duration?: string;  poster?: string;  src?: string;  autoPlay?: boolean;  className?: string;} export function VideoFrame({  title = "MIDNIGHT CINEMA ARCHIVE",  reelNumber = "REEL-04",

Props

Interactive Prop Playground

Tweak parsed AST props below to generate ready-to-paste JSX.

tsx3 lines
import { VideoFrame } from "@/components/ui/video-frame"; <VideoFrame />
PropTypeDescription
titlestringPrimary heading or title text. (Default: "MIDNIGHT CINEMA ARCHIVE")
reelNumberstringConfigures reel number. (Default: "REEL-04")
durationstringConfigures duration. (Default: "02:14:00")
posterstringConfigures poster.
srcstringConfigures src.
autoPlaybooleanToggles auto play. (Default: false)
classNamestringOptional Tailwind or custom CSS classes merged with component styles.