Home / File/ promo-video.tsx — ui Source File

promo-video.tsx — ui Source File

Architecture documentation for promo-video.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.

File tsx ComponentRegistry UIPrimitives 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  3f8ed912_14ed_e871_d332_f8dfa5450ce2["promo-video.tsx"]
  b8abad9c_c542_77d0_af73_6872a63a249c["aspect-ratio"]
  3f8ed912_14ed_e871_d332_f8dfa5450ce2 --> b8abad9c_c542_77d0_af73_6872a63a249c
  style 3f8ed912_14ed_e871_d332_f8dfa5450ce2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import { AspectRatio } from "@/registry/new-york/ui/aspect-ratio"

export function PromoVideo() {
  return (
    <AspectRatio
      ratio={16 / 9}
      className="overflow-hidden rounded-lg border bg-white shadow-xl"
    >
      <video autoPlay muted playsInline>
        <source
          src="https://ui-shadcn.s3.amazonaws.com/ui-promo-hd.mp4"
          type="video/mp4"
        />
      </video>
    </AspectRatio>
  )
}

Subdomains

Functions

Dependencies

  • aspect-ratio

Frequently Asked Questions

What does promo-video.tsx do?
promo-video.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, UIPrimitives subdomain.
What functions are defined in promo-video.tsx?
promo-video.tsx defines 1 function(s): PromoVideo.
What does promo-video.tsx depend on?
promo-video.tsx imports 1 module(s): aspect-ratio.
Where is promo-video.tsx in the architecture?
promo-video.tsx is located at deprecated/www/components/promo-video.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: deprecated/www/components).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free