Kinetic UI
Back to Introduction
Buttons

Glow Button

A button featuring a dynamic radial gradient glow that follows the cursor position.

Quick Actions
CLI Installation
npx kinetic-ui-cli@latest add glow-button

The GlowButton creates a sleek, futuristic aesthetic by masking a moving radial gradient. As the user's cursor moves across the button, a subtle colored glow tracks their movement. Now fully updated with 3 distinct visual variants.

Live Preview

Glow Button

Center Glow:A smooth radial gradient follows the cursor behind the button text.

Usage Guide

1. Import the Component

Import the component into your React or Next.js page:

import { GlowButton } from "@/components/creative/glow-button";

2. Implementation Example

Render the component and customize its behavior by passing props:

import { GlowButton } from "@/components/creative/glow-button";

export default function Example() {
  return (
    <div className="w-full flex items-center justify-center p-8">
      <GlowButton
        glowColor="example"
        withSound{true}
        variant{/* value */}
      >
        <div>Content goes here</div>
      </GlowButton>
    </div>
  );
}
Performance Notes
  • Uses CSS hardware acceleration via GPU transform-binds.
  • Damped interpolation minimizes paint-redraw flashes.
  • Tree-shakable import: only compiles elements requested.
Accessibility Notes
  • Full keyboard focus-ring navigation support (`Tab`/`Shift+Tab`).
  • ARIA roles mapped correctly for assistive screen readers.
  • Respects `prefers-reduced-motion` system toggles.