Wensity Labs

Cool Button

Buttons

About

A glowing CTA button with two animated light layers orbiting its border. Works on buttons and links, perfect for hero calls to action, pricing CTAs and signup buttons.

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

Code

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

Usage.tsx

"use client";

import { CoolButton } from "@/components/ui/cool-button";

const settings = {
  label: "Start building",
  headline: "Ship interfaces people remember",
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };

  return (
    <div className="flex min-h-[360px] w-full items-center justify-center px-6 py-12">
      <div className="flex w-full max-w-md flex-col items-center gap-6 rounded-2xl border border-[var(--border)] bg-[var(--card)] px-8 py-12 text-center shadow-sm">
        <h2 className="text-2xl font-semibold tracking-tight text-[var(--foreground)]">
          {s.headline}
        </h2>
        <p className="text-sm text-[var(--muted-foreground)]">
          A glowing call to action with two light layers orbiting its border.
        </p>
        <CoolButton as="button">{s.label}</CoolButton>
      </div>
    </div>
  );
}

Dependencies

More by Wensity Labs

View all
  • Sidebar

    Sidebar

    392
  • Calendar

    Calendar

    287
  • Button

    Button

    131
  • Color Picker

    Color Picker

    97
  • Image Comparison Slider

    Image Comparison Slider

    82
  • AI Prompt Input

    AI Prompt Input

    80
  • Text Morphing

    Text Morphing

    60
  • Carousel

    Carousel

    57

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