ham7a311

Neon Tube Button

Buttons 1

About

A pill-shaped button whose border is an SVG glass tube that lights up like a neon sign when hovered or focused, for calls-to-action on dark backgrounds.

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

Code

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

Usage.tsx

"use client";

import { NeonTubeButton } from "@/components/ui/neon-tube-button";

export default function NeonTubeButtonDemo() {
  return (
    <div
      className="flex min-h-screen w-full items-center justify-center p-8"
      style={{
        background:
          "radial-gradient(70% 60% at 50% 45%, #1d1820, #0a080b 75%), #0a080b",
      }}
    >
      <div className="flex flex-col items-center gap-6 text-center">
        <p className="font-mono text-[0.6875rem] uppercase tracking-[0.16em] text-[#8f8994]">
          Late set · Friday · Doors 22:00
        </p>
        <NeonTubeButton color="#ff4fa3">Get on the list</NeonTubeButton>
      </div>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    198
  • Route Globe

    Route Globe

    162
  • Glass Tiles

    Glass Tiles

    151
  • Orbit Ring Stats

    Orbit Ring Stats

    63
  • Glyph Swell

    Glyph Swell

    60
  • Ask Bar

    Ask Bar

    51
  • Fan Deck Card

    Fan Deck Card

    43
  • Intent Label

    Intent Label

    41

More in Buttons

View all
  • Hero Button

    Hero Button

    21
  • Eclipse Button

    Eclipse Button

    9
  • Button

    Button

    141
  • Button

    Button

    19
  • Texture Button

    Texture Button

    111
  • HeroUI Toggle Button

    HeroUI Toggle Button

  • Random Letter Swap CTA Buttons

    Random Letter Swap CTA Buttons

    64
  • Water Ripple Button

    Water Ripple Button

    4