Skip to content

Neon Glow Button

Cyberpunk-style neon glow effect with pulsing animation

Neon Glow Button

by FreeCsStyles Dev's

Glow EffectsCyberpunk
🌐🎨⚛️💚🅰️🔥☁️
#neon#glow#cyberpunk#gaming#pulse#electric

Embed this component

Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/neon-button.

<iframe src="/embed/neon-button" sandbox="allow-scripts" loading="lazy" title="Neon Glow Button" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Neon Glow Button, or grab a framework-specific implementation. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.

HTML
<button class="neon-button">NEON</button>
CSS
.neon-button {
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  background: transparent;
  border: 2px solid #06b6d4;
  color: #06b6d4;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px #06b6d4, 0 0 40px #06b6d4, inset 0 0 20px #06b6d4;
  animation: neon-pulse 2s ease-in-out infinite;
}

.neon-button:hover {
  background: #06b6d4;
  color: black;
}

@keyframes neon-pulse {
  0%, 100% {
    box-shadow: 0 0 20px #06b6d4, 0 0 40px #06b6d4, inset 0 0 20px #06b6d4;
  }
  50% {
    box-shadow: 0 0 30px #06b6d4, 0 0 60px #06b6d4, inset 0 0 30px #06b6d4;
  }
}
LWC — HTML template
<template>
  <button class="neon-button" onclick={handleClick}>
    <slot>NEON</slot>
  </button>
</template>
LWC — JavaScript
import { LightningElement, api } from 'lwc';

export default class NeonButton extends LightningElement {
  @api label = 'NEON';
  
  handleClick() {
    this.dispatchEvent(new CustomEvent('buttonclick', {
      bubbles: true,
      composed: true
    }));
  }
}
LWC — CSS
.neon-button {
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  background: transparent;
  border: 2px solid #06b6d4;
  color: #06b6d4;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px #06b6d4, 0 0 40px #06b6d4, inset 0 0 20px #06b6d4;
  animation: neon-pulse 2s ease-in-out infinite;
}

.neon-button:hover {
  background: #06b6d4;
  color: black;
}

@keyframes neon-pulse {
  0%, 100% {
    box-shadow: 0 0 20px #06b6d4, 0 0 40px #06b6d4, inset 0 0 20px #06b6d4;
  }
  50% {
    box-shadow: 0 0 30px #06b6d4, 0 0 60px #06b6d4, inset 0 0 30px #06b6d4;
  }
}
LWC — Configuration
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
  <apiVersion>59.0</apiVersion>
  <isExposed>true</isExposed>
  <targets>
    <target>lightning__AppPage</target>
    <target>lightning__RecordPage</target>
    <target>lightning__HomePage</target>
  </targets>
</LightningComponentBundle>

Where Neon Glow Button fits

  • Gaming
  • Nightlife
  • Entertainment
  • Creative Projects

Interaction states & animations

  • Glow
  • Pulse
  • Hover

Topics

  • #neon
  • #glow
  • #cyberpunk
  • #gaming
  • #pulse
  • #electric

Accessibility notes

Provide reduced motion alternative. Ensure focus state is visible without glow.

Browser support

  • All modern browsers