Orbit Ring Button
Animated orbital rings surrounding the button with floating particles and thin neon circles
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/orbit-ring-button.
<iframe src="/embed/orbit-ring-button" sandbox="allow-scripts" loading="lazy" title="Orbit Ring Button" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Orbit Ring 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="orbit-btn">ORBIT</button>CSS
.orbit-btn {
position: relative;
padding: 1rem 2rem;
border-radius: 0.75rem;
background: #0a0a1a;
color: #38bdf8;
font-weight: 700;
letter-spacing: 0.05em;
border: 1px solid rgba(56,189,248,0.3);
cursor: pointer;
transition: all 0.3s ease;
}
.orbit-btn:hover { transform: scale(1.04); box-shadow: 0 0 30px rgba(56,189,248,0.2); }
.orbit-btn:active { transform: scale(0.96); }
.orbit-ring-1 { position: absolute; inset: 0; border: 2px solid rgba(56,189,248,0.15); border-radius: 0.75rem; pointer-events: none; animation: orbit-spin 8s linear infinite; }
.orbit-ring-2 { position: absolute; inset: -4px; border: 1px dashed rgba(56,189,248,0.1); border-radius: 0.75rem; pointer-events: none; animation: orbit-spin-reverse 12s linear infinite; }
.orbit-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #38bdf8; top: -3px; left: 50%; pointer-events: none; animation: orbit-spin 8s linear infinite; }
@keyframes orbit-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes orbit-spin-reverse { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }Tailwind CSS
<button class="px-8 py-4 rounded-xl font-bold tracking-wider bg-[#0a0a1a] text-sky-400 border border-sky-400/30 hover:scale-104 hover:shadow-[0_0_30px_rgba(56,189,248,0.2)] active:scale-96 transition-all relative">
<span class="relative z-10">ORBIT</span>
<div class="absolute inset-0 rounded-xl border-2 border-sky-400/15 pointer-events-none" style="animation: orbit-spin 8s linear infinite;" />
<div class="absolute -inset-1 rounded-xl border border-dashed border-sky-400/10 pointer-events-none" style="animation: orbit-spin-reverse 12s linear infinite;" />
</button>React
function OrbitButton() {
return (
<motion.button
className="px-8 py-4 rounded-xl font-bold tracking-wider relative"
style={{ background: '#0a0a1a', color: '#38bdf8', border: '1px solid rgba(56,189,248,0.3)', cursor: 'pointer' }}
whileHover={{ scale: 1.04, boxShadow: '0 0 30px rgba(56,189,248,0.2)' }}
whileTap={{ scale: 0.96 }}
>
<span style={{ position: 'relative', zIndex: 10 }}>ORBIT</span>
<motion.div style={{ position: 'absolute', inset: 0, border: '2px solid rgba(56,189,248,0.15)', borderRadius: '0.75rem', pointerEvents: 'none' }}
animate={{ rotate: 360 }} transition={{ duration: 8, repeat: Infinity, ease: 'linear' }}
/>
<motion.div style={{ position: 'absolute', inset: -4, border: '1px dashed rgba(56,189,248,0.1)', borderRadius: '0.75rem', pointerEvents: 'none' }}
animate={{ rotate: -360 }} transition={{ duration: 12, repeat: Infinity, ease: 'linear' }}
/>
</motion.button>
);
}LWC — HTML template
<template><button class="orbit-btn" onclick={handleClick}><span style="position:relative;z-index:10"><slot>ORBIT</slot></span><div class="orbit-ring-1"></div><div class="orbit-ring-2"></div><div class="orbit-dot"></div></button></template>LWC — JavaScript
import { LightningElement, api } from 'lwc';
export default class OrbitButton extends LightningElement {
@api label = 'ORBIT';
handleClick() { this.dispatchEvent(new CustomEvent('buttonclick', { bubbles: true, composed: true })); }
}LWC — CSS
.orbit-btn { position: relative; padding: 1rem 2rem; border-radius: 0.75rem; background: #0a0a1a; color: #38bdf8; font-weight: 700; letter-spacing: 0.05em; border: 1px solid rgba(56,189,248,0.3); cursor: pointer; transition: all 0.3s ease; }
.orbit-btn:hover { transform: scale(1.04); box-shadow: 0 0 30px rgba(56,189,248,0.2); }
.orbit-btn:active { transform: scale(0.96); }
.orbit-ring-1 { position: absolute; inset: 0; border: 2px solid rgba(56,189,248,0.15); border-radius: 0.75rem; pointer-events: none; animation: orbit-spin 8s linear infinite; }
.orbit-ring-2 { position: absolute; inset: -4px; border: 1px dashed rgba(56,189,248,0.1); border-radius: 0.75rem; pointer-events: none; animation: orbit-spin-reverse 12s linear infinite; }
.orbit-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #38bdf8; top: -3px; left: 50%; pointer-events: none; animation: orbit-spin 8s linear infinite; }
@keyframes orbit-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes orbit-spin-reverse { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }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 Orbit Ring Button fits
- Space
- AI
- Science
- Technology
- Futuristic Apps
Interaction states & animations
- Orbit
- Rotation
- Particle
- Energy Spin
Topics
- #orbit
- #ring
- #space
- #neon
- #particle
- #rotation
- #sci-fi
Accessibility notes
Orbital animation should respect prefers-reduced-motion. Do not rely on animation for meaning.
Browser support
- All modern browsers