Skip to content

Hologram Shimmer Button

A sci-fi holographic projection with iridescent sweep, scanning bar, and glitchy flicker

Hologram Shimmer Button

by FreeCsStyles Dev's

AnimatedHolographic
🌐🎨⚛️💚🅰️🔥☁️
#hologram#shimmer#sci-fi#glitch#scan#futuristic#iridescent

Embed this component

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

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

Implementation code

Copy the HTML and CSS for Hologram Shimmer 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="btn-holo"><span>✦ HOLO</span></button>
CSS
.btn-holo{width:160px;height:50px;border-radius:12px;border:1px solid rgba(99,102,241,.4);background:#0f172a;color:#818cf8;font-size:16px;font-weight:700;letter-spacing:.05em;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:all .4s;font-family:system-ui,sans-serif}.btn-holo .sweep{position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,rgba(99,102,241,.35) 20%,rgba(168,85,247,.35) 40%,rgba(236,72,153,.35) 60%,rgba(59,130,246,.35) 80%,transparent 100%);opacity:0;pointer-events:none}.btn-holo.is-projecting .sweep{opacity:1;animation:holo-sweep .7s forwards ease-in-out}.btn-holo .scan-bar{position:absolute;left:0;right:0;height:3px;background:linear-gradient(90deg,transparent,rgba(99,102,241,.8),transparent);opacity:0;pointer-events:none}.btn-holo.is-projecting .scan-bar{animation:scan-down .5s .2s forwards ease-out}.btn-holo.is-active{border-color:rgba(99,102,241,.7);box-shadow:0 0 25px rgba(99,102,241,.3),inset 0 0 20px rgba(99,102,241,.1);animation:holo-flicker .1s infinite alternate}@keyframes holo-sweep{0%{transform:translateX(-100%);opacity:1}100%{transform:translateX(100%);opacity:1}}@keyframes scan-down{0%{top:-3px;opacity:1}100%{top:100%;opacity:0}}@keyframes holo-flicker{0%{opacity:.95}100%{opacity:1}}
Tailwind CSS
<button class="w-[160px] h-[50px] rounded-xl border border-indigo-400/40 bg-slate-900 text-indigo-400 font-bold tracking-wider cursor-pointer relative flex items-center justify-center overflow-hidden transition-all duration-[400ms] font-sans"><span class="relative z-10">✦ HOLO</span></button>
React
import { useState } from 'react';
export function HologramButton() {
  const [phase, setPhase] = useState('idle');
  const handleClick = () => {
    if (phase !== 'idle') return;
    setPhase('projecting');
    setTimeout(() => setPhase('active'), 900);
    setTimeout(() => setPhase('idle'), 3500);
  };
  return (
    <button onClick={handleClick} disabled={phase !== 'idle'}
      style={{ width: 160, height: 50, borderRadius: 12, border: `1px solid ${phase === 'active' ? 'rgba(99,102,241,0.7)' : 'rgba(99,102,241,0.4)'}`, background: '#0f172a', color: '#818cf8', fontSize: 16, fontWeight: 'bold', letterSpacing: '0.05em', cursor: 'pointer', position: 'relative', display: 'flex', alignItems: 'center', justifyContent: 'center', overflow: 'hidden', fontFamily: 'system-ui,sans-serif', transition: 'all 0.4s', boxShadow: phase === 'active' ? '0 0 25px rgba(99,102,241,0.3), inset 0 0 20px rgba(99,102,241,0.1)' : 'none' }}>
      <span>{phase === 'idle' ? '✦ HOLO' : phase === 'projecting' ? 'Projecting...' : '✦ ACTIVE'}</span>
    </button>
  );
}
Vue
<template>
  <button class="btn-holo" :class="phase" @click="handleClick" :disabled="phase!=='idle'">
    <span>{{ phase==='idle' ? '✦ HOLO' : phase==='projecting' ? 'Projecting...' : '✦ ACTIVE' }}</span>
  </button>
</template>
<script setup>
import { ref } from 'vue';
const phase = ref('idle');
function handleClick() {
  if (phase.value !== 'idle') return;
  phase.value = 'projecting';
  setTimeout(() => phase.value = 'active', 900);
  setTimeout(() => phase.value = 'idle', 3500);
}
</script>
Svelte
<script>
  let phase = 'idle';
  function handleClick() { if (phase !== 'idle') return; phase = 'projecting'; setTimeout(() => phase = 'active', 900); setTimeout(() => phase = 'idle', 3500); }
</script>
<button class="btn-holo" class:is-active={phase==='active'} on:click={handleClick} disabled={phase!=='idle'}>
  <span>{phase==='idle' ? '✦ HOLO' : phase==='projecting' ? 'Projecting...' : '✦ ACTIVE'}</span>
</button>
Angular
import { Component } from '@angular/core';
@Component({
  selector: 'app-hologram-button',
  template: `<button class="btn-holo" [class.is-projecting]="phase==='projecting'" [class.is-active]="phase==='active'" (click)="handleClick()" [disabled]="phase!=='idle'"><span>{{ phase==='idle' ? '✦ HOLO' : phase==='projecting' ? 'Projecting...' : '✦ ACTIVE' }}</span></button>`,
  styles: [`.btn-holo{width:160px;height:50px;border-radius:12px;border:1px solid rgba(99,102,241,.4);background:#0f172a;color:#818cf8;font-size:16px;font-weight:700;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:all .4s}.btn-holo.is-active{border-color:rgba(99,102,241,.7);box-shadow:0 0 25px rgba(99,102,241,.3),inset 0 0 20px rgba(99,102,241,.1)}`]
})
export class HologramButtonComponent { phase='idle';handleClick(){if(this.phase!=='idle')return;this.phase='projecting';setTimeout(()=>this.phase='active',900);setTimeout(()=>this.phase='idle',3500);}}
LWC — HTML template
<template><button class="btn-holo" onclick={handleClick} disabled={disabled}><span>{label}</span></button></template>
LWC — JavaScript
import { LightningElement } from 'lwc';
export default class HologramButton extends LightningElement {
  phase = 'idle';
  get disabled() { return this.phase !== 'idle'; }
  get label() { return this.phase==='idle'?'✦ HOLO':this.phase==='projecting'?'Projecting...':'✦ ACTIVE'; }
  handleClick() { if(this.phase!=='idle')return;this.phase='projecting';setTimeout(()=>this.phase='active',900);setTimeout(()=>this.phase='idle',3500); }
}
LWC — CSS
.btn-holo{width:160px;height:50px;border-radius:12px;border:1px solid rgba(99,102,241,.4);background:#0f172a;color:#818cf8;font-size:16px;font-weight:700;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:all .4s}.btn-holo.is-active{border-color:rgba(99,102,241,.7);box-shadow:0 0 25px rgba(99,102,241,.3),inset 0 0 20px rgba(99,102,241,.1)}
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 Hologram Shimmer Button fits

  • Sci-Fi UI
  • Futuristic Products
  • Tech Demos
  • Gaming
  • Cyberpunk

Interaction states & animations

  • Holo Sweep
  • Scan Bar
  • Glitch Flicker
  • Iridescent

Topics

  • #hologram
  • #shimmer
  • #sci-fi
  • #glitch
  • #scan
  • #futuristic
  • #iridescent

Accessibility notes

Flickering animation may trigger photosensitivity. Provide static fallback. Respect reduced-motion preference.

Browser support

  • All modern browsers