Componentmedia1.36 KB gzipZero dependencies
Video Frame
Cinema screening container with sprocket edges and play overlay.
Preview
Live Preview
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add video-frameOr install the full npm package:
npm install bigbulluiUsage
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 helperZero 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 />| Prop | Type | Description |
|---|---|---|
| title | string | Primary heading or title text. (Default: "MIDNIGHT CINEMA ARCHIVE") |
| reelNumber | string | Configures reel number. (Default: "REEL-04") |
| duration | string | Configures duration. (Default: "02:14:00") |
| poster | string | Configures poster. |
| src | string | Configures src. |
| autoPlay | boolean | Toggles auto play. (Default: false) |
| className | string | Optional Tailwind or custom CSS classes merged with component styles. |