Claim Deployment Example

PreviousNext

Example implementation of claim deployment.

Docs
vercel-platformexample

Preview

Loading preview…
registry/default/examples/claim-deployment.tsx
"use client";

import { ClaimDeployment } from "@/components/vercel-platform/src/blocks/claim-deployment";
import { toast } from "sonner";

const Example = () => (
  <ClaimDeployment
    onClaimClick={() => toast.success("Deployment claimed")}
    url="https://temp-project-lntxyumfhl-claim-deployments-team-ytest314.vercel.app"
  />
);

export default Example;

Installation

npx shadcn@latest add @vercel-platform/example-claim-deployment

Usage

import { ExampleClaimDeployment } from "@/components/example-claim-deployment"
<ExampleClaimDeployment />