Cryogenic Vault Card
The card is frozen in a block of crystalline ice. Content is visible but blurred and tinted blue, suspended within. Hover breathes on the ice, creating a small thawed circle of clarity. Clicking activates heating coils that defrost the entire card with a crackling animation. The card gradually refreezes when left idle.
by FreeCsStyles Dev's
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/cryogenic-vault-card.
<iframe src="/embed/cryogenic-vault-card" sandbox="allow-scripts" loading="lazy" title="Cryogenic Vault Card" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Cryogenic Vault 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="cryo-card" onclick="defrostCryo(this)">
<div class="cryo-ice-overlay"></div>
<div class="cryo-vault"></div>
<div class="cryo-content">
<div class="cryo-header">
<div><div class="cryo-title">Cryo Vault</div><div class="cryo-sub">Frozen</div></div>
<div class="cryo-status" id="cryo-status">❄️ FROZEN</div>
</div>
<div class="cryo-divider"></div>
<div class="cryo-grid">
<div class="cryo-stat"><div class="cryo-stat-val">-196°C</div><div class="cryo-stat-lbl">Temperature</div></div>
<div class="cryo-stat"><div class="cryo-stat-val" id="cryo-condition">Stable</div><div class="cryo-stat-lbl">Condition</div></div>
</div>
<div class="cryo-progress"><div class="cryo-progress-bar"></div></div>
<div class="cryo-hint" id="cryo-hint">[▼ click to defrost]</div>
</div>
</div>
<script>
let cryoFrozen = true;
function defrostCryo(el) {
if (!cryoFrozen) return;
cryoFrozen = false;
el.classList.add('defrosting');
setTimeout(() => {
el.classList.remove('defrosting');
el.classList.add('defrosted');
document.getElementById('cryo-status').textContent = '🔓 DEFROSTED';
document.getElementById('cryo-condition').textContent = 'Thawed';
document.getElementById('cryo-hint').textContent = '[refreezing...]';
setTimeout(() => {
cryoFrozen = true;
el.classList.remove('defrosted');
document.getElementById('cryo-status').textContent = '❄️ FROZEN';
document.getElementById('cryo-condition').textContent = 'Stable';
document.getElementById('cryo-hint').textContent = '[▼ click to defrost]';
}, 5000);
}, 800);
}
</script>CSS
.cryo-card {
position: relative;
width: 220px;
min-height: 300px;
border-radius: 16px;
overflow: hidden;
background: linear-gradient(160deg, #0a1628, #050e1a);
border: 1.5px solid rgba(100,180,255,0.12);
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
cursor: pointer;
transition: all 0.4s ease;
}
.cryo-card:hover {
box-shadow: 0 0 40px rgba(100,180,255,0.05), 0 15px 40px rgba(0,0,0,0.6);
}
.cryo-ice-overlay {
position: absolute;
inset: 0;
z-index: 2;
pointer-events: none;
backdrop-filter: blur(6px);
background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(100,180,255,0.08) 100%);
transition: all 1.5s ease;
}
.cryo-card.defrosting .cryo-ice-overlay {
backdrop-filter: blur(2px);
opacity: 0.3;
}
.cryo-card.defrosted .cryo-ice-overlay {
backdrop-filter: blur(0px);
opacity: 0;
}
.cryo-vault {
position: absolute;
top: 30%;
left: 20%;
right: 20%;
bottom: 40%;
z-index: 3;
border: 1.5px solid rgba(100,180,255,0.1);
border-radius: 12px;
pointer-events: none;
display: flex;
align-items: center;
justify-content: center;
}
.cryo-content {
position: absolute;
inset-x: 0;
bottom: 0;
z-index: 10;
padding: 20px;
display: flex;
flex-direction: column;
gap: 8px;
background: linear-gradient(0deg, rgba(5,14,26,0.95), transparent);
}
.cryo-header { display: flex; justify-content: space-between; align-items: center; }
.cryo-title { font-size: 14px; font-weight: 700; color: rgba(200,230,255,0.9); }
.cryo-sub { font-size: 9px; color: rgba(100,180,255,0.44); }
.cryo-status { padding: 2px 8px; border-radius: 2px; font-size: 7px; font-weight: 700; letter-spacing: 0.1em; color: #64b4ff; background: rgba(100,180,255,0.1); border: 1px solid rgba(100,180,255,0.12); }
.cryo-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(100,180,255,0.08), transparent); }
.cryo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cryo-stat { text-align: center; padding: 6px 4px; border-radius: 8px; background: rgba(100,180,255,0.02); border: 1px solid rgba(100,180,255,0.06); }
.cryo-stat-val { font-size: 10px; font-weight: 600; color: rgba(100,180,255,0.6); }
.cryo-stat-lbl { font-size: 7px; margin-top: 2px; color: rgba(255,255,255,0.2); }
.cryo-progress { height: 4px; border-radius: 2px; overflow: hidden; background: rgba(100,180,255,0.06); }
.cryo-progress-bar { height: 100%; border-radius: 2px; background: linear-gradient(90deg, rgba(100,180,255,0.2), rgba(100,180,255,0.5)); width: 100%; transition: width 1s ease; }
.cryo-card.defrosted .cryo-progress-bar { width: 98%; }
.cryo-hint { text-align: center; font-size: 7px; font-family: monospace; color: rgba(100,180,255,0.2); }
@keyframes crack {
0% { transform: scaleX(0); opacity: 1; }
100% { transform: scaleX(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
.cryo-card { transition: none; }
}Tailwind CSS
<div class="group relative w-[220px] min-h-[300px] rounded-2xl overflow-hidden border border-blue-400/20 shadow-lg group-hover:shadow-[0_0_40px_rgba(100,180,255,0.05),0_15px_40px_rgba(0,0,0,0.6)] bg-gradient-to-br from-[#0a1628] to-[#050e1a] cursor-pointer">
<div class="absolute inset-0 z-2 pointer-events-none backdrop-blur-md bg-gradient-radial from-transparent via-blue-400/10 to-transparent transition-all duration-700 group-hover:backdrop-blur group-hover:opacity-80"></div>
<div class="absolute top-[30%] left-[20%] right-[20%] bottom-[40%] z-3 border border-blue-400/20 rounded-xl pointer-events-none flex items-center justify-center">❄️</div>
<div class="absolute inset-x-0 bottom-0 z-10 p-5 space-y-2 bg-gradient-to-t from-[#050e1a]/95 to-transparent">
<div class="flex items-center justify-between">
<div><p class="text-sm font-bold text-blue-200/90">Cryo Vault</p><p class="text-[9px] text-blue-400/50">Frozen</p></div>
<div class="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest text-blue-400 bg-blue-500/10 border border-blue-500/20">❄️ FROZEN</div>
</div>
<div class="h-px bg-gradient-to-r from-transparent via-blue-400/20 to-transparent"></div>
<div class="grid grid-cols-2 gap-2">
<div class="text-center py-1.5 rounded-lg bg-blue-500/10 border border-blue-500/20"><p class="text-[10px] font-semibold text-blue-400">-196°C</p><p class="text-[7px] mt-0.5 text-white/20">Temperature</p></div>
<div class="text-center py-1.5 rounded-lg bg-blue-500/10 border border-blue-500/20"><p class="text-[10px] font-semibold text-blue-400">Stable</p><p class="text-[7px] mt-0.5 text-white/20">Condition</p></div>
</div>
<div class="text-center"><span class="text-[7px] font-mono text-blue-400/30">[▼ click to defrost]</span></div>
</div>
</div>React
import React, { useState, useRef, useCallback } from 'react';
import { motion, useMotionValue, useSpring, AnimatePresence } from 'framer-motion';
export function CryogenicVaultCard() {
const [isHovered, setIsHovered] = useState(false);
const [isDefrosted, setIsDefrosted] = useState(false);
const [isCracking, setIsCracking] = useState(false);
const [thawSpot, setThawSpot] = useState({ x: 50, y: 50 });
const [cracks, setCracks] = useState([]);
const ref = useRef(null);
const x = useMotionValue(0);
const y = useMotionValue(0);
const rotateX = useSpring(y, { damping: 25, stiffness: 250 });
const rotateY = useSpring(x, { damping: 25, stiffness: 250 });
const handleMouseMove = (e) => {
if (!ref.current) return;
const rect = ref.current.getBoundingClientRect();
const cx = rect.left + rect.width / 2;
const cy = rect.top + rect.height / 2;
x.set(-((e.clientX - cx) / (rect.width / 2)) * 10);
y.set(((e.clientY - cy) / (rect.height / 2)) * 10);
setThawSpot({ x: Math.max(5, Math.min(95, ((e.clientX - rect.left) / rect.width) * 100)), y: Math.max(5, Math.min(95, ((e.clientY - rect.top) / rect.height) * 100)) });
};
const handleClick = () => {
if (isCracking) return;
setIsCracking(true);
const newCracks = Array.from({ length: 12 }, (_, i) => ({ id: i, x: 20 + Math.random() * 60, y: 15 + Math.random() * 70, angle: Math.random() * 360, length: 15 + Math.random() * 35 }));
setCracks(newCracks);
setTimeout(() => { setIsDefrosted(true); setIsCracking(false); }, 800);
setTimeout(() => { setIsDefrosted(false); setCracks([]); }, 5000);
};
return (
<div onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => { setIsHovered(false); x.set(0); y.set(0); }}>
<motion.div ref={ref} onMouseMove={handleMouseMove} onClick={handleClick} style={{ rotateX, rotateY, transformStyle: 'preserve-3d', cursor: 'pointer' }}>
<motion.div className="relative overflow-hidden rounded-2xl" style={{ width: 220, minHeight: 300, background: 'linear-gradient(160deg, #0a1628, #050e1a)', border: '1.5px solid rgba(100,180,255,0.12)' }}
animate={{ boxShadow: isDefrosted ? '0 15px 40px rgba(0,0,0,0.4)' : isHovered ? '0 0 40px rgba(100,180,255,0.05), 0 15px 40px rgba(0,0,0,0.6)' : '0 10px 30px rgba(0,0,0,0.5)' }} transition={{ type: 'spring', stiffness: 280, damping: 20 }}>
<motion.div className="absolute inset-0 pointer-events-none z-[2]" animate={{ opacity: isDefrosted ? 0 : isCracking ? 0.3 : 0.7, backdropFilter: isDefrosted ? 'blur(0px)' : isCracking ? 'blur(2px)' : 'blur(6px)' }} transition={{ duration: isCracking ? 0.3 : 1.5 }} />
{isHovered && !isDefrosted && <motion.div className="absolute w-20 h-20 rounded-full pointer-events-none z-[4]" style={{ left: `${thawSpot.x}%`, top: `${thawSpot.y}%`, transform: 'translate(-50%, -50%)', background: 'radial-gradient(circle, rgba(180,220,255,0.2), transparent 70%)', backdropFilter: 'blur(-2px)' }} initial={{ opacity: 0 }} animate={{ opacity: 1 }} exit={{ opacity: 0 }} />}
<AnimatePresence>{cracks.map((crack) => (<motion.div key={crack.id} className="absolute h-[1.5px] pointer-events-none z-[3]" style={{ left: `${crack.x}%`, top: `${crack.y}%`, width: `${crack.length}px`, background: 'linear-gradient(90deg, rgba(200,230,255,0.8), rgba(180,210,255,0.1))', transformOrigin: 'left center', rotate: `${crack.angle}deg` }} initial={{ scaleX: 0, opacity: 0 }} animate={{ scaleX: 1, opacity: [0, 1, 0.6, 0] }} exit={{ scaleX: 0, opacity: 0 }} transition={{ duration: 0.6, delay: crack.id * 0.04 }} />))}</AnimatePresence>
<div className="absolute inset-x-0 bottom-0 z-10 p-5 space-y-2" style={{ background: 'linear-gradient(0deg, rgba(5,14,26,0.95), transparent)' }}>
<div className="flex items-center justify-between">
<div><p className="text-sm font-bold" style={{ color: 'rgba(200,230,255,0.9)' }}>Cryo Vault</p><p className="text-[9px]" style={{ color: 'rgba(100,180,255,0.44)' }}>Frozen</p></div>
<motion.div className="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest" style={{ background: 'rgba(100,180,255,0.1)', border: '1px solid rgba(100,180,255,0.12)', color: '#64b4ff' }}>{isDefrosted ? '🔓 DEFROSTED' : isCracking ? '🔨 CRACKING' : '❄️ FROZEN'}</motion.div>
</div>
<div className="h-px" style={{ background: 'linear-gradient(90deg, transparent, rgba(100,180,255,0.08), transparent)' }} />
<div className="grid grid-cols-2 gap-2">
<div className="text-center py-1.5 rounded-lg" style={{ background: 'rgba(100,180,255,0.02)', border: '1px solid rgba(100,180,255,0.06)' }}><p className="text-[10px] font-semibold" style={{ color: 'rgba(100,180,255,0.6)' }}>-196°C</p><p className="text-[7px] mt-0.5 text-white/20">Temperature</p></div>
<div className="text-center py-1.5 rounded-lg" style={{ background: 'rgba(100,180,255,0.02)', border: '1px solid rgba(100,180,255,0.06)' }}><p className="text-[10px] font-semibold" style={{ color: 'rgba(100,180,255,0.6)' }}>{isDefrosted ? 'Thawed' : 'Stable'}</p><p className="text-[7px] mt-0.5 text-white/20">Condition</p></div>
</div>
<motion.div className="text-center" animate={isHovered ? { y: [0, -1, 0] } : {}} transition={{ duration: 1.5, repeat: isHovered ? Infinity : 0, ease: 'easeInOut' }}>
<span className="text-[7px] font-mono" style={{ color: 'rgba(100,180,255,0.2)' }}>{isDefrosted ? '[▼ refreezing...]' : '[▼ click to defrost]'}</span>
</motion.div>
</div>
</motion.div>
</motion.div>
</div>
);
}Where Cryogenic Vault Card fits
- Data Preservation
- Cold Storage
- Security
- Scientific Archives
- Museum Specimens
Interaction states & animations
- Thaw
- Crack
- Refreeze
- Ice crystal shimmer
- Thermal pulse
Topics
- #ice
- #frozen
- #cryo
- #cold-storage
- #vault
- #thaw
- #crystal
- #blue
- #frost
- #preservation
Accessibility notes
Blue-tinted text may have contrast issues. Ensure sufficient contrast ratios. Consider providing a non-blurred version for users with visual impairments. Add prefers-reduced-motion to disable thaw and crack animations.
Browser support
- Chrome 90+
- Firefox 105+
- Safari 15+
- Edge 90+