Shailendra Kumar

Button

Buttons

About

This is animated live button

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

Code

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

Usage.tsx

"use client";

import React from "react";
import { LiveButton, type LiveButtonData } from "@/components/ui/button";

export default function DemoOne() {
   const handleLiveButtonClick = () => {
    console.log("Live button clicked!");
  };

  const liveButtonData: LiveButtonData = {
    text: "Now Live",
    href: "https://www.youtube.com/",
    target: "_blank",
    showIcon: true,
    pulseAnimation: true,
    size: "medium",
    variant: "red",
  };

  return (
    <div className="relative w-full h-screen overflow-hidden">
      <div className="absolute top-1/2 left-1/2 -translate-x-1/2 z-50">
        <LiveButton data={liveButtonData} onClick={handleLiveButtonClick} />
      </div>
    </div>
  );
}

More by Shailendra Kumar

View all
  • Map

    Map

    1.7K
  • social card

    social card

    731
  • Animated 3D Card

    Animated 3D Card

    544
  • Date Picker

    Date Picker

    167
  • Animated Button

    Animated Button

    131
  • Kanban

    Kanban

    106
  • switch

    switch

    96
  • 404 page not found

    404 page not found

    81

More in Buttons

View all
  • Button

    Button

    4
  • App Store Button

    App Store Button

    453
  • Button

    Button

    47
  • Button

    Button

    4
  • Eclipse Button

    Eclipse Button

    39
  • Texture Button

    Texture Button

    92
  • Split Button

    Split Button

    14
  • Button

    Button

    32