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. 2 imports, 0 dependents.

File tsx Internationalization Dictionary 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  7022b042_687c_6641_1eec_37c78327bca0["open-in-v0-cta.tsx"]
  79081a1f_55a3_945a_fb8c_d53d6d3eab81["utils"]
  7022b042_687c_6641_1eec_37c78327bca0 --> 79081a1f_55a3_945a_fb8c_d53d6d3eab81
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  7022b042_687c_6641_1eec_37c78327bca0 --> 57e86e45_ac6e_7278_be08_9092724e8401
  style 7022b042_687c_6641_1eec_37c78327bca0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

export function OpenInV0Cta({ className }: React.ComponentProps<"div">) {
  return (
    <div
      className={cn(
        "group bg-surface text-surface-foreground relative flex flex-col gap-2 rounded-lg p-6 text-sm",
        className
      )}
    >
      <div className="text-base leading-tight font-semibold text-balance group-hover:underline">
        Deploy your shadcn/ui app on Vercel
      </div>
      <div className="text-muted-foreground">
        Trusted by OpenAI, Sonos, Adobe, and more.
      </div>
      <div className="text-muted-foreground">
        Vercel provides tools and infrastructure to deploy apps and features at
        scale.
      </div>
      <Button size="sm" className="mt-2 w-fit">
        Deploy Now
      </Button>
      <a
        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>
      </a>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • button
  • 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 Internationalization domain, Dictionary 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 2 module(s): button, utils.
Where is open-in-v0-cta.tsx in the architecture?
open-in-v0-cta.tsx is located at apps/v4/components/open-in-v0-cta.tsx (domain: Internationalization, subdomain: Dictionary, directory: apps/v4/components).

Analyze Your Own Codebase

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

Try Supermodel Free