Skip to content

Claymation Frame Card

A card that cycles through a short, jerky stop-motion animation where each frame is a slightly different clay sculpt of the same subject. Hover pauses the animation and lets the user scrub through frames. Clicking leaves a thumbprint on the current frame, bookmarking it. The charming imperfection of fingerprints and smudges is celebrated throughout.

Claymation Frame Card

by FreeCsStyles Dev's

CardsClaymorphism
🌐🎨⚛️💚🅰️🔥☁️
#claymorphism#claymation#stop-motion#frame#animation#bookmark#thumbprint#smudge

Embed this component

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

<iframe src="/embed/claymation-frame-card" sandbox="allow-scripts" loading="lazy" title="Claymation Frame Card" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Claymation Frame 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="claymation-card">
  <div class="claymation-bg"></div>
  <div class="claymation-frame-counter">FRM 1/7</div>
  <div class="claymation-character">
    <div class="claymation-emoji">🌱</div>
    <div class="claymation-name">Bud</div>
    <div class="claymation-desc">seed unfurls</div>
  </div>
  <div class="claymation-smudges"></div>
  <div class="claymation-content">
    <div class="claymation-header">
      <div><div class="claymation-title">The Walnut</div><div class="claymation-sub">Animator</div></div>
      <div class="claymation-status">▶ PLAY</div>
    </div>
    <div class="claymation-grid">
      <div class="claymation-stat"><div class="claymation-stat-val">1</div><div class="claymation-stat-lbl">Frame</div></div>
      <div class="claymation-stat"><div class="claymation-stat-val">0</div><div class="claymation-stat-lbl">Bookmarks</div></div>
    </div>
    <div class="claymation-hint">[▼ hover to scrub frames]</div>
  </div>
</div>
CSS
.claymation-card { position: relative; width: 220px; min-height: 300px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #2d1a12, #1a0f0a); border: 1.5px solid rgba(196,113,75,0.12); box-shadow: 0 10px 30px rgba(0,0,0,0.3); cursor: pointer; }
.claymation-card:hover { box-shadow: 0 0 30px rgba(168,93,58,0.25), 0 15px 40px rgba(0,0,0,0.5); }
.claymation-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, rgba(212,135,102,0.06), rgba(168,93,58,0.31)); }
.claymation-frame-counter { position: absolute; top: 8%; right: 8%; z-index: 5; padding: 2px 6px; border-radius: 2px; font-size: 7px; font-family: monospace; font-weight: 700; color: rgba(232,168,124,0.6); background: rgba(196,113,75,0.08); border: 1px solid rgba(196,113,75,0.12); }
.claymation-character { position: absolute; left: 15%; right: 15%; top: 15%; bottom: 32%; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.claymation-emoji { font-size: 48px; margin-bottom: 8px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.claymation-name { font-size: 10px; font-weight: 700; color: rgba(232,168,124,0.6); }
.claymation-desc { font-size: 6px; color: rgba(232,168,124,0.31); }
.claymation-smudges { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(168,93,58,0.02) 3px, rgba(168,93,58,0.02) 4px); }
.claymation-content { position: absolute; inset-x: 0; bottom: 0; z-index: 10; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent); }
.claymation-header { display: flex; justify-content: space-between; align-items: center; }
.claymation-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); }
.claymation-sub { font-size: 9px; color: rgba(232,168,124,0.37); }
.claymation-status { padding: 2px 8px; border-radius: 2px; font-size: 7px; font-weight: 700; letter-spacing: 0.1em; color: rgba(232,168,124,0.6); background: rgba(196,113,75,0.08); border: 1px solid rgba(196,113,75,0.14); }
.claymation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.claymation-stat { text-align: center; padding: 6px 4px; border-radius: 8px; background: rgba(196,113,75,0.05); border: 1px solid rgba(196,113,75,0.07); }
.claymation-stat-val { font-size: 10px; font-weight: 600; color: rgba(232,168,124,0.6); }
.claymation-stat-lbl { font-size: 7px; margin-top: 2px; color: rgba(255,255,255,0.2); }
.claymation-hint { text-align: center; font-size: 7px; font-family: monospace; color: rgba(196,113,75,0.18); margin-top: 8px; }
Tailwind CSS
<div class="group relative w-[220px] min-h-[300px] rounded-2xl overflow-hidden border border-amber-700/20 shadow-lg group-hover:shadow-[0_0_30px_rgba(168,93,58,0.25),0_15px_40px_rgba(0,0,0,0.5)] bg-gradient-to-b from-[#2d1a12] to-[#1a0f0a] cursor-pointer">
  <div class="absolute inset-0 bg-gradient-radial from-amber-600/10 to-amber-900/30"></div>
  <div class="absolute top-[8%] right-[8%] z-[5] px-1.5 py-0.5 rounded-sm bg-amber-700/10 border border-amber-700/20"><span class="text-[7px] font-mono font-bold text-amber-300/60">FRM 1/7</span></div>
  <div class="absolute left-[15%] right-[15%] top-[15%] bottom-[32%] z-[3] flex flex-col items-center justify-center">
    <div class="text-5xl mb-2" style="filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3))">🌱</div>
    <p class="text-[10px] font-bold text-amber-300/60">Bud</p>
    <p class="text-[6px] text-amber-300/30">seed unfurls</p>
  </div>
  <div class="absolute inset-0 z-[2] pointer-events-none bg-[repeating-linear-gradient(0deg,transparent,transparent_3px,rgba(168,93,58,0.02)_3px,rgba(168,93,58,0.02)_4px)]"></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">The Walnut</p><p class="text-[9px] text-amber-300/40">Animator</p></div>
      <div class="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest text-amber-300/60 bg-amber-700/10 border border-amber-700/20">▶ PLAY</div>
    </div>
    <div class="h-px bg-gradient-to-r from-transparent via-amber-700/10 to-transparent"></div>
    <div class="grid grid-cols-2 gap-2">
      <div class="text-center py-1.5 rounded-lg bg-amber-700/10 border border-amber-700/20"><p class="text-[10px] font-semibold text-amber-300/60">1</p><p class="text-[7px] mt-0.5 text-white/20">Frame</p></div>
      <div class="text-center py-1.5 rounded-lg bg-amber-700/10 border border-amber-700/20"><p class="text-[10px] font-semibold text-amber-300/60">0</p><p class="text-[7px] mt-0.5 text-white/20">Bookmarks</p></div>
    </div>
    <div class="text-center"><span class="text-[7px] font-mono text-amber-700/30">[▼ hover to scrub frames]</span></div>
  </div>
</div>
React
import React, { useState, useRef, useEffect } from 'react';
import { motion, useMotionValue, useSpring } from 'framer-motion';

export function ClaymationFrameCard({ animationName = 'The Walnut', animator = 'Animator', width = 220 }) {
  const ref = useRef(null);
  const [isHovered, setIsHovered] = useState(false);
  const [currentFrame, setCurrentFrame] = useState(0);
  const [isPlaying, setIsPlaying] = useState(true);
  const [thumbprints, setThumbprints] = useState([]);
  const frames = [
    { name: 'Bud', emoji: '🌱', desc: 'seed unfurls' },
    { name: 'Sprout', emoji: '🌿', desc: 'first leaves' },
    { name: 'Stem', emoji: '🌾', desc: 'stretching up' },
    { name: 'Bloom', emoji: '🌸', desc: 'petals open' },
    { name: 'Crown', emoji: '🌺', desc: 'full flower' },
    { name: 'Wilt', emoji: '🥀', desc: 'gentle droop' },
    { name: 'Rest', emoji: '🌰', desc: 'seed returns' },
  ];
  const colors = { base: '#c4714b', light: '#d48766', dark: '#a85d3a', accent: '#e8a87c' };
  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(() => {
    if (!isPlaying || !isHovered) return;
    const id = setInterval(() => setCurrentFrame((prev) => (prev + 1) % 7), 120);
    return () => clearInterval(id);
  }, [isPlaying, isHovered]);
  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);
    if (isHovered && !isPlaying) {
      const px = (e.clientX - rect.left) / rect.width;
      setCurrentFrame(Math.min(6, Math.max(0, Math.floor(px * 7))));
    }
  };
  return (
    <div onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => { setIsHovered(false); setIsPlaying(true); x.set(0); y.set(0); }}>
      <motion.div ref={ref} onMouseMove={handleMouseMove} onClick={() => setIsPlaying((p) => !p)} 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, #2d1a12, #1a0f0a)', border: '1.5px solid rgba(196,113,75,0.12)' }}
          animate={{ boxShadow: isHovered ? '0 0 30px rgba(168,93,58,0.25), 0 15px 40px rgba(0,0,0,0.5)' : '0 10px 30px rgba(0,0,0,0.3)' }} transition={{ type: 'spring', stiffness: 260, damping: 20 }}>
          <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.6), transparent)' }}>
            <div className="flex items-center justify-between">
              <div><p className="text-sm font-bold" style={{ color: 'rgba(255,255,255,0.9)' }}>{animationName}</p><p className="text-[9px]" style={{ color: 'rgba(232,168,124,0.37)' }}>{animator}</p></div>
              <motion.div className="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest" style={{ background: 'rgba(196,113,75,0.08)', border: '1px solid rgba(196,113,75,0.14)', color: 'rgba(232,168,124,0.6)' }}>{isPlaying && isHovered ? '▶ PLAY' : '✋ SCRUB'}</motion.div>
            </div>
          </div>
        </motion.div>
      </motion.div>
    </div>
  );
}

Where Claymation Frame Card fits

  • Stop-motion showcases
  • Animation portfolios
  • Frame-by-frame analysis
  • Creative storytelling
  • Bookmarkable galleries

Interaction states & animations

  • Stop-motion frame cycling
  • Frame scrubbing
  • Thumbprint bookmark
  • Frame counter stamp
  • Smudge texture

Topics

  • #claymorphism
  • #claymation
  • #stop-motion
  • #frame
  • #animation
  • #bookmark
  • #thumbprint
  • #smudge

Accessibility notes

The stop-motion animation may be distracting. Provide pause and scrub controls. Frame counter provides temporal context. Thumbprint bookmarks are decorative visual markers. The jerky animation is intentional.

Browser support

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