Files
upstream-shadcn-ui/apps/v4/components/open-in-v0-cta.tsx
upstream-mirror 1416db152c
All checks were successful
Release / Create Version PR or Publish Stable Release (push) Has been skipped
Release / Publish Prerelease to NPM (push) Has been skipped
Monitor Registries / Monitor registry health (push) Has been skipped
snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
2026-09-15 22:44:43 +05:00

37 lines
1.1 KiB
TypeScript

import { cn } from "cn"
import { Button } from "@/styles/base-nova/ui/button"
export function OpenInV0Cta({ className }: React.ComponentProps<"div">) {
return (
<div
className={cn(
"group relative flex flex-col gap-2 rounded-2xl bg-surface p-6 text-sm text-surface-foreground",
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 variant="outline" 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>
)
}