Bibek Kumar Dey

Button

Buttons

About

GradientButton is a reusable UI component that renders a visually appealing button with a blue gradient background. It accepts customizable button text and an onClick handler, making it suitable for use in forms, dialogs, or any interactive UI where a call-to-action button is needed. The component is styled for modern interfaces and provides a smooth hover effect for enhanced user experience.

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


import { GradientButton } from "@/components/ui/button";

const DemoOne = () => {
  return (
    <div className="flex bg-white w-full h-screen justify-center items-center">
      <GradientButton 
        text="Hover Me" 
        onClick={() => console.log("Button clicked!")}
      />
    </div>
  );
};

export { DemoOne };

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