Skip to content

Molten Glass Blob Card

A card that appears as a slowly undulating blob of hot, glowing glass. Content is suspended within like inclusions in amber. Hover 'cools' the area slightly, freezing that section into clear, sharp glass. Clicking 'reheats' the card, causing a wave of molten motion that rearranges the blob's shape. The glass emits a soft, warm orange glow at the edges.

Molten Glass Blob Card

by FreeCsStyles Dev's

CardsApple Liquid Glass
🌐🎨⚛️💚🅰️🔥☁️
#liquid-glass#molten#blob#undulating#glowing#amber#inclusions#organic#heat#glass

Embed this component

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

<iframe src="/embed/molten-glass-blob-card" sandbox="allow-scripts" loading="lazy" title="Molten Glass Blob Card" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Molten Glass Blob 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="molten-card">
  <div class="molten-glow"></div>
  <div class="molten-blob">
    <svg class="blob-svg" viewBox="0 0 130 180">
      <defs><radialGradient id="mG" cx="50%" cy="40%" r="50%"><stop offset="0%" stop-color="rgba(255,200,100,0.2)"/><stop offset="100%" stop-color="rgba(200,80,20,0.04)"/></radialGradient></defs>
      <path d="M 65 30 C 85 30, 110 50, 110 80 C 110 120, 95 150, 65 150 C 35 150, 20 120, 20 80 C 20 50, 45 30, 65 30 Z" fill="url(#mG)" stroke="rgba(255,150,50,0.12)"/>
      <ellipse cx="65" cy="80" rx="20" ry="16" fill="rgba(255,220,150,0.08)"/>
      <circle cx="50" cy="85" r="3" fill="rgba(255,200,100,0.15)"/>
      <circle cx="72" cy="78" r="2.5" fill="rgba(255,180,80,0.12)"/>
      <circle cx="60" cy="100" r="2" fill="rgba(255,220,120,0.1)"/>
    </svg>
  </div>
  <div class="molten-footer">
    <div class="mlt-row"><span>Molten Core</span><span class="mlt-badge">HOT</span></div>
    <div class="mlt-grid"><div>1200°C<span>Temperature</span></div><div>VISCOUS<span>State</span></div></div>
    <div class="mlt-hint">[▼ click to reheat]</div>
  </div>
</div>
CSS
.molten-card { position: relative; width: 220px; min-height: 300px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #1a0800, #0e0400); border: 1.5px solid rgba(255,150,50,0.15); box-shadow: 0 10px 30px rgba(0,0,0,0.3); cursor: pointer; transition: all 0.3s; }
.molten-card:hover { box-shadow: 0 0 40px rgba(255,150,50,0.08), 0 15px 40px rgba(0,0,0,0.4); }
.molten-glow { position: absolute; left: 50%; top: 35%; width: 120px; height: 120px; transform: translate(-50%, -50%); z-index: 2; pointer-events: none; background: radial-gradient(circle, rgba(255,150,50,0.15), transparent 70%); filter: blur(12px); }
.molten-blob { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 3; pointer-events: none; }
.blob-svg { width: 130px; height: 180px; }
.molten-footer { position: absolute; inset-x: 0; bottom: 0; z-index: 10; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent); }
.mlt-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mlt-row span:first-child { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); }
.mlt-badge { padding: 2px 8px; border-radius: 2px; font-size: 7px; font-weight: 700; letter-spacing: 0.1em; color: rgba(255,150,50,0.6); background: rgba(255,150,50,0.08); border: 1px solid rgba(255,150,50,0.12); }
.mlt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.mlt-grid div { text-align: center; padding: 6px 4px; border-radius: 8px; background: rgba(255,150,50,0.02); border: 1px solid rgba(255,150,50,0.04); font-size: 10px; font-weight: 600; color: rgba(255,150,50,0.6); }
.mlt-grid div span { display: block; font-size: 7px; margin-top: 2px; font-weight: 400; color: rgba(255,255,255,0.2); }
.mlt-hint { text-align: center; font-size: 7px; font-family: monospace; color: rgba(255,150,50,0.2); margin-top: 8px; }
Tailwind CSS
<div class="group relative w-[220px] min-h-[300px] rounded-2xl overflow-hidden border border-orange-500/30 shadow-lg group-hover:shadow-[0_0_40px_rgba(255,150,50,0.08),0_15px_40px_rgba(0,0,0,0.4)] bg-gradient-to-b from-[#1a0800] to-[#0e0400] cursor-pointer">
  <div class="absolute left-1/2 top-[35%] -translate-x-1/2 -translate-y-1/2 w-[120px] h-[120px] z-[2] pointer-events-none bg-gradient-radial from-orange-500/20 to-transparent blur-xl"></div>
  <div class="absolute inset-0 flex items-center justify-center z-[3] pointer-events-none">
    <svg class="w-[130px] h-[180px]" viewBox="0 0 130 180">
      <defs><radialGradient id="mG2" cx="50%" cy="40%" r="50%"><stop offset="0%" stop-color="rgba(255,200,100,0.2)"/><stop offset="100%" stop-color="rgba(200,80,20,0.04)"/></radialGradient></defs>
      <path d="M 65 30 C 85 30, 110 50, 110 80 C 110 120, 95 150, 65 150 C 35 150, 20 120, 20 80 C 20 50, 45 30, 65 30 Z" fill="url(#mG2)" stroke="rgba(255,150,50,0.12)"/>
    </svg>
  </div>
  <div class="absolute inset-x-0 bottom-0 z-10 p-5 space-y-2 bg-gradient-to-t from-black/60 to-transparent">
    <div class="flex items-center justify-between"><div><p class="text-sm font-bold text-white/90">Molten Core</p><p class="text-[9px] text-orange-400/50">Borosilicate</p></div><div class="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest text-orange-400 bg-orange-500/10 border border-orange-500/20">HOT</div></div>
    <div class="h-px bg-gradient-to-r from-transparent via-orange-500/10 to-transparent"></div>
    <div class="grid grid-cols-2 gap-2"><div class="text-center py-1.5 rounded-lg bg-orange-500/10 border border-orange-500/20"><p class="text-[10px] font-semibold text-orange-400">1200°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-orange-500/10 border border-orange-500/20"><p class="text-[10px] font-semibold text-orange-400">VISCOUS</p><p class="text-[7px] mt-0.5 text-white/20">State</p></div></div>
    <div class="text-center"><span class="text-[7px] font-mono text-orange-400/30">[▼ click to reheat]</span></div>
  </div>
</div>
React
import React, { useRef, useState, useCallback } from 'react';
import { motion, useMotionValue, useSpring, AnimatePresence } from 'framer-motion';

export function MoltenGlassBlobCard({ title = 'Molten Core', material = 'Borosilicate', width = 220, temperature = 1200 }) {
  const ref = useRef(null);
  const [isHovered, setIsHovered] = useState(false);
  const [reheated, setReheated] = useState(false);
  const [cooled, setCooled] = useState(false);
  const x = useMotionValue(0);
  const y = useMotionValue(0);
  const rotateX = useSpring(y, { damping: 22, stiffness: 220 });
  const rotateY = useSpring(x, { damping: 22, stiffness: 220 });
  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)) * 8);
    y.set(((e.clientY - cy) / (rect.height / 2)) * 8);
  };
  const handleClick = () => { setReheated(true); setCooled(false); setTimeout(() => setReheated(false), 2000); };
  return (
    <div onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => { setIsHovered(false); x.set(0); y.set(0); setCooled(true); }}>
      <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: cooled ? 'linear-gradient(160deg, #0a0806, #060404)' : 'linear-gradient(160deg, #1a0800, #0e0400)', border: cooled ? '1.5px solid rgba(255,180,80,0.06)' : '1.5px solid rgba(255,150,50,0.15)' }}
          animate={{ boxShadow: cooled ? '0 10px 30px rgba(0,0,0,0.3)' : reheated ? '0 0 60px rgba(255,120,20,0.15), 0 15px 40px rgba(0,0,0,0.4)' : isHovered ? '0 0 40px rgba(255,150,50,0.08), 0 15px 40px rgba(0,0,0,0.4)' : '0 0 30px rgba(255,120,20,0.06), 0 10px 30px rgba(0,0,0,0.3)' }}>
          <motion.div className="absolute left-1/2 top-[35%] -translate-x-1/2 -translate-y-1/2 w-[120px] h-[120px] z-[2] pointer-events-none rounded-full" style={{ background: 'radial-gradient(circle, rgba(255,150,50,0.15), transparent 70%)', filter: 'blur(12px)' }}
            animate={{ opacity: cooled ? 0.2 : reheated ? 0.8 : 0.4, scale: reheated ? [1, 1.3, 1] : cooled ? 0.8 : 1 }} transition={{ duration: reheated ? 0.8 : 2, repeat: reheated ? Infinity : cooled ? 0 : Infinity }} />
          <div className="absolute inset-0 flex items-center justify-center z-[3] pointer-events-none">
            <motion.div animate={{ scale: cooled ? 0.92 : reheated ? [1, 1.05, 0.98, 1.03, 1] : 1 }} transition={{ duration: reheated ? 1.5 : 3 }}>
              <svg width="130" height="180" viewBox="0 0 130 180">
                <defs><radialGradient id="mG3" cx="50%" cy="40%" r="50%"><stop offset="0%" stopColor={cooled ? 'rgba(200,180,160,0.12)' : 'rgba(255,200,100,0.2)'}/><stop offset="100%" stopColor={cooled ? 'rgba(160,140,120,0.04)' : 'rgba(200,80,20,0.04)'}/></radialGradient></defs>
                <path d="M 65 30 C 85 30, 110 50, 110 80 C 110 120, 95 150, 65 150 C 35 150, 20 120, 20 80 C 20 50, 45 30, 65 30 Z" fill="url(#mG3)" stroke={cooled ? 'rgba(200,180,160,0.08)' : reheated ? 'rgba(255,200,100,0.3)' : 'rgba(255,150,50,0.12)'} strokeWidth="1"/>
              </svg>
            </motion.div>
          </div>
          <div className="absolute inset-x-0 bottom-0 z-10 p-5 space-y-2 bg-gradient-to-t from-black/60 to-transparent">
            <div className="flex items-center justify-between"><div><p className="text-sm font-bold text-white/90">{title}</p><p className="text-[9px] text-orange-400/50">{material}</p></div><motion.div className="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest" style={{ background: cooled ? 'rgba(200,180,160,0.08)' : reheated ? 'rgba(255,200,100,0.12)' : 'rgba(255,150,50,0.08)', border: cooled ? '1px solid rgba(200,180,160,0.12)' : reheated ? '1px solid rgba(255,200,100,0.2)' : '1px solid rgba(255,150,50,0.12)', color: cooled ? 'rgba(200,180,160,0.6)' : reheated ? 'rgba(255,200,100,0.7)' : 'rgba(255,150,50,0.6)' }}>{reheated ? 'MOLTEN' : cooled ? 'FROZEN' : isHovered ? 'COOLING' : 'HOT'}</motion.div></div>
            <div className="text-center"><span className="text-[7px] font-mono text-orange-400/30">{cooled ? '[▼ hover to cool, click to reheat]' : '[▼ click to reheat]'}</span></div>
          </div>
        </motion.div>
      </motion.div>
    </div>
  );
}

Where Molten Glass Blob Card fits

  • Heat map UI
  • Premium Material Showcase
  • Temperature Displays
  • Artistic Visualizations

Interaction states & animations

  • Blob undulation
  • Glow pulse
  • Spark particle
  • Cooling freeze
  • Reheat melt wave

Topics

  • #liquid-glass
  • #molten
  • #blob
  • #undulating
  • #glowing
  • #amber
  • #inclusions
  • #organic
  • #heat
  • #glass

Accessibility notes

The undulating blob and glow pulses may be distracting. Provide reduced motion fallback. Warm orange glow and color changes should not be the only indicators of state.

Browser support

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