Home / File/ open-in-v0-cta.tsx — ui Source File

open-in-v0-cta.tsx — ui Source File

Architecture documentation for open-in-v0-cta.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx ComponentRegistry UIPrimitives 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  66a25b71_5c1a_ae98_2937_d8601df054dc["open-in-v0-cta.tsx"]
  ba3d44f3_7b34_f9cc_6283_44817785c0df["link"]
  66a25b71_5c1a_ae98_2937_d8601df054dc --> ba3d44f3_7b34_f9cc_6283_44817785c0df
  79081a1f_55a3_945a_fb8c_d53d6d3eab81["utils"]
  66a25b71_5c1a_ae98_2937_d8601df054dc --> 79081a1f_55a3_945a_fb8c_d53d6d3eab81
  aa2f3ec6_f291_3763_88ec_65a3f5ad5939["button"]
  66a25b71_5c1a_ae98_2937_d8601df054dc --> aa2f3ec6_f291_3763_88ec_65a3f5ad5939
  style 66a25b71_5c1a_ae98_2937_d8601df054dc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import Link from "next/link"

import { cn } from "@/lib/utils"
import { Button } from "@/registry/new-york/ui/button"

export function OpenInV0Cta({ className }: React.ComponentProps<"div">) {
  return (
    <div
      className={cn(
        "group relative flex flex-col gap-2 rounded-lg border p-4 text-sm",
        className
      )}
    >
      <div className="text-balance text-lg font-semibold leading-tight group-hover:underline">
        Deploy your shadcn/ui app on Vercel
      </div>
      <div>Trusted by OpenAI, Sonos, Chick-fil-A, and more.</div>
      <div>
        Vercel provides tools and infrastructure to deploy apps and features at
        scale.
      </div>
      <Button size="sm" className="mt-2 w-fit">
        Deploy Now
      </Button>
      <Link
        href="https://vercel.com/new?utm_source=shadcn_site&utm_medium=web&utm_campaign=docs_cta_deploy_now_callout"
        target="_blank"
        rel="noreferrer"
        className="absolute inset-0"
      >
        <span className="sr-only">Deploy to Vercel</span>
      </Link>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • button
  • link
  • utils

Frequently Asked Questions

What does open-in-v0-cta.tsx do?
open-in-v0-cta.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 open-in-v0-cta.tsx?
open-in-v0-cta.tsx defines 1 function(s): OpenInV0Cta.
What does open-in-v0-cta.tsx depend on?
open-in-v0-cta.tsx imports 3 module(s): button, link, utils.
Where is open-in-v0-cta.tsx in the architecture?
open-in-v0-cta.tsx is located at deprecated/www/components/open-in-v0-cta.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