Taksh Prajapati

WhatsAppButton

Buttons

About

Floating action button that opens a WhatsApp chat with a pre-filled message. Perfect for booking inquiries and customer support.

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

Code

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

Usage.tsx

import WhatsAppButton from "@/components/ui/whatsappbutton";

export default function WhatsAppButtonDemo() {
  return (
    <div className="min-h-[400px] relative bg-gray-100 p-8">
      <div className="max-w-md mx-auto text-center pt-20">
        <h2 className="text-xl font-semibold mb-2">WhatsApp Click-to-Chat</h2>
        <p className="text-gray-500 text-sm">
          The green FAB appears at bottom-right. Click to start a chat.
        </p>
      </div>
      <WhatsAppButton />
    </div>
  );
}

Dependencies

More in Buttons

View all
  • Button

    Button

    1
  • Texture Button

    Texture Button

    97
  • Eclipse Button

    Eclipse Button

    39
  • App Store Button

    App Store Button

    458
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Button

    Button

    4
  • Button

    Button

    65
  • Button

    Button

    68