Kavi Katiyar

Call to Action (CTA)

Buttons 366

About

Call to Action Card A full-width, visually engaging card that combines a background image with a title, description, and an email signup form. It's designed to capture user attention and drive conversions.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Call to Action (CTA) to your project and fits it to your theme.

Code

How Call to Action (CTA) is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

// demo.tsx
import { CtaCard } from "@/components/ui/call-to-action-cta";

const CtaCardDemo = () => {
  const handleSignUp = (email: string) => {
    alert(`Thank you for signing up with ${email}!`);
  };

  return (
    <div className="w-full p-4 md:p-8">
      <CtaCard
        title="Let's build from here"
        description="Harnessed for productivity. Designed for collaboration. Celebrated for built-in security. Welcome to the platform developers love."
        buttonText="Sign up for GitHub"
        inputPlaceholder="Email address"
        imageSrc="https://cdn.21st.dev/assets/mirror/d6/d6ebbba9f413343efbc0d13521dc6a9c607dbbd3e4795f2b756ca0467c03bf04.jpg"
        onButtonClick={handleSignUp}
      />
    </div>
  );
};

export default CtaCardDemo;

Dependencies

More by Kavi Katiyar

View all
  • 3D Card

    3D Card

    1.1K
  • Bento Product Features

    Bento Product Features

    880
  • Testimonial Slider

    Testimonial Slider

    746
  • Card

    Card

    628
  • Order Confirmation Card

    Order Confirmation Card

    542
  • Project Detail View

    Project Detail View

    436
  • Animated Card

    Animated Card

    413
  • Performance Benchmark Card

    Performance Benchmark Card

    410

More in Buttons

View all
  • Texture Button

    Texture Button

    108
  • Button

    Button

    14
  • Notification Button

    Notification Button

    117
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Eclipse Button

    Eclipse Button

    44
  • Button Save

    Button Save

    50
  • App Store Button

    App Store Button

    484
  • Base Button

    Base Button

    1