Kavi Katiyar

Phone Verification Form

Forms

About

Phone Verification Form This component provides a complete UI for phone number verification, including social sign-in options and a placeholder for reCAPTCHA. It's built to be animated and easily integrated.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Phone Verification Form to your project and fits it to your theme.

Code

How Phone Verification Form is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import React from "react";
import { PhoneVerificationForm } from "@/components/ui/phone-verification-form";

// Main demo component
export default function PhoneVerificationFormDemo() {
  // Handler functions to demonstrate prop connectivity
  const handleClose = () => {
    console.log("Close button clicked");
  };

  const handleProceed = (phoneNumber: string) => {
    console.log("Proceeding with phone number:", phoneNumber);
    // Add your logic here, e.g., send OTP
  };

  const handleGoogleSignIn = () => {
    console.log("Sign in with Google clicked");
  };

  const handleSignUp = () => {
    console.log("Sign-Up link clicked");
  };

  return (
    // Centering container to simulate a modal overlay
    <div className="flex min-h-[600px] w-full items-center justify-center bg-background p-4">
      <PhoneVerificationForm
        // Replace with your actual image source
        illustrationSrc="https://www.pvrcinemas.com/static/media/Cinema%20House%201.ddda5acf194e124b216b.gif"
        onClose={handleClose}
        onProceed={handleProceed}
        onGoogleSignIn={handleGoogleSignIn}
        onSignUpClick={handleSignUp}
      />
    </div>
  );
}

Dependencies

More by Kavi Katiyar

View all
  • 3D Card

    3D Card

    982
  • Bento Product Features

    Bento Product Features

    831
  • Testimonial Slider

    Testimonial Slider

    716
  • Card

    Card

    608
  • Order Confirmation Card

    Order Confirmation Card

    504
  • Project Detail View

    Project Detail View

    408
  • Animated Card

    Animated Card

    394
  • State

    State

    393

More in Forms

View all
  • Premium Auth

    Premium Auth

    500
  • Login 1

    Login 1

    52
  • Book A Demo 3

    Book A Demo 3

    83
  • Authentication Card

    Authentication Card

    47
  • Book A Demo 1

    Book A Demo 1

    69
  • Contact Card

    Contact Card

    1K
  • Login Card

    Login Card

    32
  • Login 2

    Login 2

    7