Skip to content

Ghost Signal Card

The card exists as a faint, blue-white hologram projected onto empty air. Dust motes float through the projection volume, catching the light. Hover solidifies the hologram, making it more opaque and real. Clicking emits a brief scanning beam that reveals metadata as floating callouts. The projector source at the card's base hums faintly and flickers.

Ghost Signal Card

by FreeCsStyles Dev's

CardsHologram
🌐🎨⚛️💚🅰️🔥☁️
#ghost#signal#hologram#scan#dust#space#astronomy#faint#projection#sci-fi

Embed this component

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

<iframe src="/embed/ghost-signal-card" sandbox="allow-scripts" loading="lazy" title="Ghost Signal Card" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

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

HTML
<div class="ghost-card">
  <div class="ghost-projection">
    <div class="ghost-dust"></div>
    <div class="ghost-source"></div>
  </div>
  <div class="ghost-content">
    <div class="ghost-header">
      <div><div class="ghost-title">Ghost Signal</div><div class="ghost-sub">Unknown Origin</div></div>
      <div class="ghost-status">⬡ GHOST</div>
    </div>
    <div class="ghost-grid">
      <div class="ghost-stat"><div class="ghost-stat-val">1.42 GHz</div><div class="ghost-stat-lbl">Frequency</div></div>
      <div class="ghost-stat"><div class="ghost-stat-val">⬡ FAINT</div><div class="ghost-stat-lbl">Status</div></div>
    </div>
    <div class="ghost-hint">[▼ hover to solidify hologram]</div>
  </div>
</div>
CSS
.ghost-card { position: relative; width: 220px; min-height: 300px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #040810, #02040a); border: 1.5px solid rgba(180,220,255,0.06); box-shadow: 0 10px 30px rgba(0,0,0,0.3); cursor: pointer; }
.ghost-card:hover { box-shadow: 0 0 30px rgba(180,220,255,0.08), 0 15px 40px rgba(0,0,0,0.4); }
.ghost-projection { position: absolute; inset: 0; pointer-events: none; }
.ghost-projection { opacity: 0.25; transition: opacity 0.3s; }
.ghost-card:hover .ghost-projection { opacity: 0.65; }
.ghost-dust { position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(180,220,255,0.03), transparent); }
.ghost-source { position: absolute; left: 50%; bottom: 32%; transform: translateX(-50%); width: 12px; height: 3px; border-radius: 50%; background: #b0d0f0; box-shadow: 0 0 6px rgba(180,220,255,0.3); }
.ghost-content { position: absolute; inset-x: 0; bottom: 0; z-index: 10; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent); }
.ghost-header { display: flex; justify-content: space-between; align-items: center; }
.ghost-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.85); }
.ghost-sub { font-size: 9px; color: rgba(180,220,255,0.3); }
.ghost-status { padding: 2px 8px; border-radius: 2px; font-size: 7px; font-weight: 700; letter-spacing: 0.1em; color: #b0d0f0; background: rgba(180,220,255,0.05); border: 1px solid rgba(180,220,255,0.08); }
.ghost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ghost-stat { text-align: center; padding: 6px 4px; border-radius: 8px; background: rgba(180,220,255,0.03); border: 1px solid rgba(180,220,255,0.05); }
.ghost-stat-val { font-size: 10px; font-weight: 600; color: #b0d0f0; }
.ghost-stat-lbl { font-size: 7px; margin-top: 2px; color: rgba(255,255,255,0.2); }
.ghost-hint { text-align: center; font-size: 7px; font-family: monospace; color: rgba(180,220,255,0.15); margin-top: 8px; }
Tailwind CSS
<div class="group relative w-[220px] min-h-[300px] rounded-2xl overflow-hidden border border-blue-200/10 shadow-lg group-hover:shadow-[0_0_30px_rgba(180,220,255,0.08),0_15px_40px_rgba(0,0,0,0.4)] bg-gradient-to-b from-[#040810] to-[#02040a] cursor-pointer">
  <div class="absolute inset-0 pointer-events-none opacity-25 group-hover:opacity-65 transition-opacity duration-300">
    <div class="absolute inset-0 bg-gradient-radial from-blue-200/10 to-transparent"></div>
    <div class="absolute left-1/2 bottom-[32%] w-3 h-0.5 rounded-full bg-blue-200 shadow-[0_0_6px_rgba(180,220,255,0.3)] -translate-x-1/2"></div>
  </div>
  <div class="absolute inset-x-0 bottom-0 z-10 p-5 space-y-2 bg-gradient-to-t from-black/70 to-transparent">
    <div class="flex items-center justify-between">
      <div><p class="text-sm font-bold text-white/90">Ghost Signal</p><p class="text-[9px] text-blue-200/50">Unknown Origin</p></div>
      <div class="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest text-blue-200 bg-blue-200/10 border border-blue-200/20">⬡ GHOST</div>
    </div>
    <div class="h-px bg-gradient-to-r from-transparent via-blue-200/10 to-transparent"></div>
    <div class="grid grid-cols-2 gap-2">
      <div class="text-center py-1.5 rounded-lg bg-blue-200/10 border border-blue-200/20"><p class="text-[10px] font-semibold text-blue-200">1.42 GHz</p><p class="text-[7px] mt-0.5 text-white/20">Frequency</p></div>
      <div class="text-center py-1.5 rounded-lg bg-blue-200/10 border border-blue-200/20"><p class="text-[10px] font-semibold text-blue-200">⬡ FAINT</p><p class="text-[7px] mt-0.5 text-white/20">Status</p></div>
    </div>
    <div class="text-center"><span class="text-[7px] font-mono text-blue-200/30">[▼ hover to solidify hologram]</span></div>
  </div>
</div>
React
import React, { useRef, useState, useEffect } from 'react';
import { motion, useMotionValue, useSpring, AnimatePresence } from 'framer-motion';

export function GhostSignalCard({ signalName = 'Ghost Signal', width = 220 }) {
  const ref = useRef(null);
  const [isHovered, setIsHovered] = useState(false);
  const [scanning, setScanning] = useState(false);
  const [showCallouts, setShowCallouts] = useState(false);
  const [dustMotes, setDustMotes] = useState([]);
  const [hologramOpacity, setHologramOpacity] = useState(0.25);
  const x = useMotionValue(0);
  const y = useMotionValue(0);
  const rotateX = useSpring(y, { damping: 25, stiffness: 200 });
  const rotateY = useSpring(x, { damping: 25, stiffness: 200 });
  useEffect(() => {
    setDustMotes(Array.from({ length: 12 }, (_, i) => ({ id: i, x: 10 + Math.random() * 80, y: 10 + Math.random() * 80, size: 1 + Math.random() * 2, speed: 0.3 + Math.random() * 0.7 })));
    const interval = setInterval(() => {
      setDustMotes((prev) => prev.map((m) => ({ ...m, y: m.y - m.speed * 0.3, x: m.x + Math.sin(m.y * 0.05) * 0.5 })).map((m) => ({ ...m, y: m.y < -5 ? 105 : m.y, x: m.x < 0 ? 100 : m.x > 100 ? 0 : m.x })));
    }, 100);
    return () => clearInterval(interval);
  }, []);
  const handleMouseMove = (e) => {
    if (!ref.current) return;
    const rect = ref.current.getBoundingClientRect();
    x.set(-((e.clientX - rect.left - rect.width / 2) / (rect.width / 2)) * 6);
    y.set(((e.clientY - rect.top - rect.height / 2) / (rect.height / 2)) * 6);
    setHologramOpacity(Math.min(0.75, 0.25 + (1 - Math.abs(e.clientY - (rect.top + rect.height / 2)) / (rect.height / 2)) * 0.5));
  };
  const handleClick = () => {
    if (!scanning) {
      setScanning(true);
      setTimeout(() => setShowCallouts(true), 600);
      setTimeout(() => { setScanning(false); setShowCallouts(false); }, 3000);
    }
  };
  const metadataCallouts = [{ label: 'RA', value: '05h 34m 31s' }, { label: 'DEC', value: '+22° 00\' 52"' }, { label: 'FLUX', value: '2.3 Jy' }, { label: 'S/N', value: '14.7' }, { label: 'DIST', value: '1,500 ly' }];
  const activeOpacity = isHovered ? hologramOpacity : 0.25;
  return (
    <div onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => { setIsHovered(false); x.set(0); y.set(0); setHologramOpacity(0.25); }}>
      <motion.div ref={ref} onMouseMove={handleMouseMove} onClick={handleClick} style={{ rotateX, rotateY, transformStyle: 'preserve-3d' }} className="relative cursor-pointer">
        <motion.div className="relative overflow-hidden rounded-2xl" style={{ width, minHeight: 300, background: 'linear-gradient(160deg, #040810, #02040a)', border: '1.5px solid rgba(180,220,255,0.06)' }}
          animate={{ boxShadow: isHovered ? '0 0 30px rgba(180,220,255,0.08), 0 15px 40px rgba(0,0,0,0.4)' : '0 10px 30px rgba(0,0,0,0.3)' }} transition={{ type: 'spring', stiffness: 280, damping: 20 }}>
          <motion.div className="absolute z-[2]" style={{ left: '15%', right: '15%', top: '10%', bottom: '34%', border: '1px solid rgba(180,220,255,0.08)', borderRadius: 4, background: 'radial-gradient(ellipse at 50% 40%, rgba(180,220,255,0.04), transparent 70%)', backdropFilter: 'blur(1px)' }}
            animate={{ opacity: activeOpacity }} transition={{ duration: 0.3 }}>
            <div className="absolute inset-0 flex items-center justify-center">
              <motion.div className="text-center" animate={{ opacity: isHovered ? [0.5, 0.7, 0.5] : [0.2, 0.3, 0.2] }} transition={{ duration: 3, repeat: Infinity, ease: 'easeInOut' }}>
                <div className="text-[10px] font-mono" style={{ color: '#b0d0f0' }}>{isHovered ? '⟡ SIGNAL LOCKED ⟡' : '⬡ ACQUIRING... ⬡'}</div>
                <div className="mt-2 flex justify-center gap-1">{Array.from({ length: 5 }).map((_, i) => (
                  <motion.div key={i} className="w-1 h-3 rounded-full" style={{ background: '#b0d0f0' }}
                    animate={{ opacity: isHovered ? [0.3, 0.8, 0.3] : [0.1, 0.3, 0.1], height: isHovered ? [6, 12, 6] : [4, 8, 4] }}
                    transition={{ duration: 1.5, repeat: Infinity, delay: i * 0.2, ease: 'easeInOut' }} />
                ))}</div>
              </motion.div>
            </div>
          </motion.div>
          {dustMotes.map((mote) => (
            <motion.div key={mote.id} className="absolute rounded-full pointer-events-none z-[3]"
              style={{ width: mote.size, height: mote.size, background: '#b0d0f0', left: `${mote.x}%`, top: `${mote.y}%`, opacity: 0.15 * (isHovered ? 1.5 : 1), filter: 'blur(0.5px)' }} />
          ))}
          <AnimatePresence>{scanning && (
            <motion.div className="absolute z-[4] pointer-events-none" style={{ left: 0, right: 0, height: 2, background: 'linear-gradient(90deg, transparent, rgba(180,220,255,0.25), transparent)', boxShadow: '0 0 8px rgba(180,220,255,0.12)' }}
              initial={{ top: '10%' }} animate={{ top: ['10%', '66%'] }} exit={{ opacity: 0 }} transition={{ duration: 0.6, ease: 'easeInOut' }} />
          )}</AnimatePresence>
          <AnimatePresence>{showCallouts && metadataCallouts.map((callout, i) => (
            <motion.div key={callout.label} className="absolute z-[5] pointer-events-none" style={{ left: `${15 + i * 14}%`, top: `${16 + Math.sin(i * 1.5) * 8}%` }}
              initial={{ opacity: 0, scale: 0.5, y: 10 }} animate={{ opacity: 1, scale: 1, y: 0 }} exit={{ opacity: 0, scale: 0.5, y: -10 }}
              transition={{ delay: 0.6 + i * 0.1, type: 'spring', stiffness: 200, damping: 15 }}>
              <div className="px-1.5 py-0.5 rounded text-center" style={{ background: 'rgba(180,220,255,0.05)', border: '1px solid rgba(180,220,255,0.06)' }}>
                <p className="text-[5px] font-bold tracking-wider" style={{ color: '#b0d0f0' }}>{callout.label}</p>
                <p className="text-[6px] font-mono mt-0.5" style={{ color: 'rgba(180,220,255,0.35)' }}>{callout.value}</p>
              </div>
            </motion.div>
          ))}</AnimatePresence>
          <motion.div className="absolute z-[3] pointer-events-none" style={{ left: '50%', bottom: '32%', transform: 'translateX(-50%)' }}>
            <motion.div className="mx-auto" style={{ width: 16, height: 4, borderRadius: '50%', background: '#b0d0f0', boxShadow: '0 0 6px rgba(180,220,255,0.18)' }}
              animate={{ opacity: [0.3, 0.6, 0.3], scale: [1, 1.1, 1] }} transition={{ duration: 0.8, repeat: Infinity, ease: 'easeInOut' }} />
          </motion.div>
          <div className="absolute inset-x-0 bottom-0 z-10 p-5 space-y-2" style={{ background: 'linear-gradient(0deg, rgba(0,0,0,0.7), transparent)' }}>
            <div className="flex items-center justify-between">
              <div><p className="text-sm font-bold" style={{ color: 'rgba(255,255,255,0.85)' }}>{signalName}</p><p className="text-[9px]" style={{ color: 'rgba(180,220,255,0.3)' }}>Unknown Origin</p></div>
              <motion.div className="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest" style={{ background: 'rgba(180,220,255,0.05)', border: '1px solid rgba(180,220,255,0.08)', color: '#b0d0f0' }}
                animate={scanning ? { opacity: [0.5, 1, 0.5] } : isHovered ? { opacity: 0.8 } : { opacity: [0.3, 0.5, 0.3] }} transition={{ duration: scanning ? 0.3 : 2, repeat: Infinity }}>{scanning ? '⟡ SCAN' : showCallouts ? '⚡ DECODE' : isHovered ? '⟡ LOCK' : '⬡ GHOST'}</motion.div>
            </div>
            <div className="text-center"><span className="text-[7px] font-mono" style={{ color: 'rgba(180,220,255,0.15)' }}>{scanning || showCallouts ? '[▼ signal fading...]' : isHovered ? '[▼ click to scan signal]' : '[▼ hover to solidify hologram]'}</span></div>
          </div>
        </motion.div>
      </motion.div>
    </div>
  );
}

Where Ghost Signal Card fits

  • Signal monitoring
  • Space science UI
  • Telescope dashboards
  • Mysterious signal visualization
  • Astronomy interfaces

Interaction states & animations

  • Hologram opacity shift
  • Dust mote floating
  • Scanning beam sweep
  • Metadata callout reveal
  • Projector flicker

Topics

  • #ghost
  • #signal
  • #hologram
  • #scan
  • #dust
  • #space
  • #astronomy
  • #faint
  • #projection
  • #sci-fi

Accessibility notes

The faint hologram may be difficult to read for users with low vision. Ensure solid state when hovered provides adequate contrast. The scanning beam is decorative.

Browser support

  • Chrome 90+
  • Firefox 105+
  • Safari 15+
  • Edge 90+