Skip to content

UFO Abduction Card

A sci-fi card featuring a hovering UFO that rotates slowly. A tractor beam pulses beneath it. Hovering makes the UFO spin faster and the tractor beam intensify. Clicking triggers an abduction: a small cow or object rises into the beam and vanishes into the craft.

UFO Abduction Card

by FreeCsStyles Dev's

CardsSpin / Rotation / Flip
🌐🎨⚛️💚🅰️🔥☁️
#ufo#alien#spaceship#abduction#sci-fi#tractor-beam#hover#space#extraterrestrial#beam

Embed this component

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

<iframe src="/embed/ufo-abduction-card" sandbox="allow-scripts" loading="lazy" title="UFO Abduction Card" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for UFO Abduction 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="ufo-abduction-card">
  <div class="ufo-sky"></div>
  <div class="ufo-craft">
    <div class="ufo-dome"></div>
    <div class="ufo-body"></div>
    <div class="ufo-lights"></div>
  </div>
  <div class="ufo-beam"></div>
  <div class="ufo-target">🐄</div>
  <div class="ufo-content">
    <div class="ufo-title">UFO Abduction</div>
    <div class="ufo-sub">Close Encounter</div>
    <div class="ufo-badge">SCAN</div>
  </div>
</div>
CSS
.ufo-abduction-card { position: relative; width: 220px; min-height: 290px; border-radius: 16px; background: linear-gradient(160deg, #0a0414, #02020a); border: 1.5px solid rgba(50,255,100,0.08); overflow: hidden; cursor: pointer; }
.ufo-abduction-card:hover { box-shadow: 0 0 30px rgba(50,255,100,0.06); }
.ufo-craft { position: absolute; left: 50%; top: 25%; transform: translate(-50%,-50%); z-index: 3; animation: ufoHover 3s ease-in-out infinite; }
.ufo-abduction-card:hover .ufo-craft { animation-duration: 1s; }
@keyframes ufoHover { 0%,100% { transform: translate(-50%,-50%) translateY(0); } 50% { transform: translate(-50%,-50%) translateY(-6px); } }
.ufo-body { width: 60px; height: 14px; border-radius: 50%; background: linear-gradient(180deg, #889, #445); border: 1px solid rgba(150,200,150,0.15); }
.ufo-dome { width: 20px; height: 12px; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, #8cf, #468); margin: -6px auto 0; }
.ufo-lights { display: flex; justify-content: center; gap: 6px; margin-top: -2px; }
.ufo-lights::before, .ufo-lights::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #4f8; animation: lightBlink 0.5s alternate infinite; }
.ufo-lights::after { animation-delay: 0.25s; background: #8f4; }
@keyframes lightBlink { 0% { opacity: 0.3; } 100% { opacity: 1; } }
.ufo-beam { position: absolute; left: 50%; top: 30%; transform: translateX(-50%); width: 30px; height: 60px; background: linear-gradient(180deg, rgba(50,255,100,0.2), transparent); clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%); opacity: 0.3; transition: opacity 0.3s; }
.ufo-abduction-card:hover .ufo-beam { opacity: 0.6; }
.ufo-target { position: absolute; left: 50%; bottom: 45%; transform: translateX(-50%); font-size: 18px; transition: all 0.5s; }
.ufo-abduction-card:active .ufo-target { transform: translateX(-50%) translateY(-40px); opacity: 0; }
.ufo-content { position: absolute; inset-x: 0; bottom: 0; padding: 16px; background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent); }
.ufo-title { font-size: 14px; font-weight: 700; color: rgba(150,255,200,0.9); }
.ufo-sub { font-size: 9px; color: rgba(50,255,100,0.4); }
.ufo-badge { font-size: 7px; font-weight: 700; letter-spacing: 0.3em; color: rgba(50,255,100,0.3); margin-top: 4px; }
Tailwind CSS
<div class="group relative w-[220px] min-h-[290px] rounded-2xl bg-gradient-to-b from-[#0a0414] to-[#02020a] border border-green-500/20 overflow-hidden cursor-pointer group-hover:shadow-[0_0_30px_rgba(50,255,100,0.06)]">
  <div class="absolute left-1/2 top-[25%] -translate-x-1/2 -translate-y-1/2 z-[3] animate-[ufoHover_3s_ease-in-out_infinite] group-hover:animate-[ufoHover_1s_ease-in-out_infinite]">
    <div class="w-10 h-3 rounded-[50%] mx-auto bg-gradient-to-b from-gray-400 to-gray-600 border border-green-500/20"></div>
    <div class="w-5 h-3 rounded-t-full bg-gradient-to-b from-cyan-300 to-cyan-700 mx-auto -mb-1"></div>
  </div>
  <div class="absolute left-1/2 top-[30%] -translate-x-1/2 w-[30px] h-[60px] bg-gradient-to-b from-green-500/30 to-transparent [clip-path:polygon(30%_0%,70%_0%,100%_100%,0%_100%)] opacity-30 transition-opacity group-hover:opacity-60"></div>
  <div class="absolute left-1/2 bottom-[45%] -translate-x-1/2 text-lg transition-all group-active:translate-y-[-40px] group-active:opacity-0">🐄</div>
  <div class="absolute inset-x-0 bottom-0 p-4 bg-gradient-to-t from-black/70 to-transparent">
    <p class="text-sm font-bold text-green-300/90">UFO Abduction</p>
    <p class="text-[9px] text-green-500/40">Close Encounter</p>
    <p class="text-[7px] font-bold tracking-widest text-green-500/30 mt-1">SCAN</p>
  </div>
</div>
React
import React, { useState } from 'react';
import { motion } from 'framer-motion';

export function UFOAbductionCard({ width = 220 }) {
  const [abducting, setAbducting] = useState(false);
  const [isHovered, setIsHovered] = useState(false);
  return (
    <div onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)}>
      <motion.div onClick={() => { if (!abducting) { setAbducting(true); setTimeout(() => setAbducting(false), 2000); }}} whileTap={{ scale: 0.97 }} className="relative cursor-pointer" style={{ width }}>
        <motion.div className="relative rounded-2xl overflow-hidden" style={{ minHeight: 290, background: 'linear-gradient(160deg, #0a0414, #02020a)', border: '1.5px solid rgba(50,255,100,0.08)' }}>
          <motion.div className="absolute left-1/2 z-[3]" style={{ top: '25%' }}
            animate={{ y: isHovered ? [0, -6, 0] : [0, -4, 0] }} transition={{ duration: isHovered ? 1 : 3, repeat: Infinity }}>
            <motion.div className="w-[60px] h-3.5 rounded-[50%]" style={{ background: 'linear-gradient(180deg, #889, #445)', border: '1px solid rgba(150,200,150,0.15)' }}
              animate={{ rotate: isHovered ? 360 : 0 }} transition={{ duration: 2, repeat: Infinity, ease: 'linear' }}>
              <div className="w-5 h-3 rounded-t-full mx-auto -mt-[6px]" style={{ background: 'linear-gradient(180deg, #8cf, #468)' }} />
            </motion.div>
          </motion.div>
          <motion.div className="absolute left-1/2" style={{ top: '30%', width: 30, height: 60, clipPath: 'polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%)', background: 'linear-gradient(180deg, rgba(50,255,100,0.2), transparent)' }}
            animate={{ opacity: isHovered || abducting ? 0.6 : 0.3 }} />
          <motion.div className="absolute left-1/2 text-lg" style={{ bottom: '45%' }}
            animate={abducting ? { y: [0, -60], opacity: [1, 0] } : {}}
            transition={{ duration: 1.5 }}>
            🐄
          </motion.div>
          <div className="absolute inset-x-0 bottom-0 p-4" style={{ background: 'linear-gradient(0deg, rgba(0,0,0,0.7), transparent)' }}>
            <p className="text-sm font-bold" style={{ color: 'rgba(150,255,200,0.9)' }}>UFO Abduction</p>
            <p className="text-[9px]" style={{ color: 'rgba(50,255,100,0.4)' }}>{abducting ? 'ABDUCTED!' : 'Close Encounter'}</p>
          </div>
        </motion.div>
      </motion.div>
    </div>
  );
}

Where UFO Abduction Card fits

  • Sci-Fi Cards
  • Game UI
  • Alien Encounters
  • Animation Demos
  • Storytelling Cards

Interaction states & animations

  • UFO spin rotation
  • Tractor beam pulse
  • Abduction lift animation
  • Object vanish into craft
  • Light ring rotation

Topics

  • #ufo
  • #alien
  • #spaceship
  • #abduction
  • #sci-fi
  • #tractor-beam
  • #hover
  • #space
  • #extraterrestrial
  • #beam

Accessibility notes

Flashing tractor beam may trigger photosensitivity. prefers-reduced-motion shows static UFO with click-to-abduct as text narrative alternative.

Browser support

  • Chrome 76+
  • Firefox 90+
  • Safari 13+
  • Edge 79+