Skip to content

Clay Stamp Card

A smooth clay slab at rest where content appears as stamped impressions pressed into the surface. Hover deepens the stamp impression making it more legible. Clicking rolls a cylindrical stamp across the surface, imprinting new content in sequence. Different stamps have distinct textures—some geometric, some organic.

Clay Stamp Card

by FreeCsStyles Dev's

CardsClaymorphism
🌐🎨⚛️💚🅰️🔥☁️
#claymorphism#stamp#impression#texture#geometric#organic#rolling#artisan

Embed this component

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

<iframe src="/embed/clay-stamp-card" sandbox="allow-scripts" loading="lazy" title="Clay Stamp Card" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Clay Stamp 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="stamp-card">
  <div class="stamp-surface"></div>
  <div class="stamp-impressions">
    <div class="stamp-row">
      <svg class="stamp-icon" viewBox="0 0 24 24"><path d="M 12 6 Q 20 10, 18 18 Q 14 20, 12 6 Z" fill="none" stroke="rgba(232,168,124,0.3)" stroke-width="0.8"/></svg>
      <div><div class="stamp-name">Spiral</div><div class="stamp-type">organic · impression</div></div>
    </div>
    <div class="stamp-row">
      <svg class="stamp-icon" viewBox="0 0 24 24"><polygon points="12,6 20,12 12,18 4,12" fill="none" stroke="rgba(232,168,124,0.3)" stroke-width="0.8"/></svg>
      <div><div class="stamp-name">Diamond</div><div class="stamp-type">geometric · impression</div></div>
    </div>
  </div>
  <div class="stamp-content">
    <div class="stamp-header">
      <div><div class="stamp-title">Impression Collection</div><div class="stamp-sub">Carver</div></div>
      <div class="stamp-status">STAMP</div>
    </div>
    <div class="stamp-grid">
      <div class="stamp-stat"><div class="stamp-stat-val">2</div><div class="stamp-stat-lbl">Stamps</div></div>
      <div class="stamp-stat"><div class="stamp-stat-val">Leaf</div><div class="stamp-stat-lbl">Next Stamp</div></div>
    </div>
    <div class="stamp-hint">[▼ click to roll stamp]</div>
  </div>
</div>
CSS
.stamp-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; }
.stamp-card:hover { box-shadow: 0 0 30px rgba(168,93,58,0.25), 0 15px 40px rgba(0,0,0,0.5); }
.stamp-surface { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 20%, rgba(212,135,102,0.08), rgba(168,93,58,0.37)); }
.stamp-impressions { position: absolute; left: 8%; right: 8%; top: 8%; bottom: 32%; z-index: 2; display: flex; flex-direction: column; justify-content: space-around; gap: 4px; }
.stamp-row { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 6px; background: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(176,101,64,0.03) 2px, rgba(176,101,64,0.03) 3px); border: 1px solid rgba(176,101,64,0.06); transition: all 0.3s ease; }
.stamp-row:hover { transform: scale(1.02); }
.stamp-icon { width: 24px; height: 24px; flex-shrink: 0; }
.stamp-name { font-size: 9px; font-weight: 600; color: rgba(232,168,124,0.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stamp-type { font-size: 6px; color: rgba(232,168,124,0.2); }
.stamp-content { position: absolute; inset-x: 0; bottom: 0; z-index: 10; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent); }
.stamp-header { display: flex; justify-content: space-between; align-items: center; }
.stamp-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); }
.stamp-sub { font-size: 9px; color: rgba(232,168,124,0.37); }
.stamp-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); }
.stamp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stamp-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); }
.stamp-stat-val { font-size: 10px; font-weight: 600; color: rgba(232,168,124,0.6); }
.stamp-stat-lbl { font-size: 7px; margin-top: 2px; color: rgba(255,255,255,0.2); }
.stamp-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/40"></div>
  <div class="absolute left-[8%] right-[8%] top-[8%] bottom-[32%] z-[2] flex flex-col justify-around gap-1">
    <div class="flex items-center gap-2 px-3 py-1.5 rounded-md bg-[repeating-linear-gradient(45deg,transparent,transparent_2px,rgba(176,101,64,0.03)_2px,rgba(176,101,64,0.03)_3px)] border border-amber-800/20 hover:scale-[1.02] transition-transform">
      <svg class="w-6 h-6 flex-shrink-0" viewBox="0 0 24 24"><path d="M 12 6 Q 20 10, 18 18 Q 14 20, 12 6 Z" fill="none" stroke="rgba(232,168,124,0.3)" stroke-width="0.8"/></svg>
      <div class="flex-1 min-w-0"><p class="text-[9px] font-semibold truncate text-amber-300/50">Spiral</p><p class="text-[6px] text-amber-300/20">organic · impression</p></div>
    </div>
  </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">Impression Collection</p><p class="text-[9px] text-amber-300/40">Carver</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">STAMP</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">2</p><p class="text-[7px] mt-0.5 text-white/20">Stamps</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">Leaf</p><p class="text-[7px] mt-0.5 text-white/20">Next Stamp</p></div>
    </div>
    <div class="text-center"><span class="text-[7px] font-mono text-amber-700/30">[▼ click to roll stamp]</span></div>
  </div>
</div>
React
import React, { useState, useRef, useCallback } from 'react';
import { motion, useMotionValue, useSpring } from 'framer-motion';

export function ClayStampCard({ collectionName = 'Impression Collection', carver = 'Carver', width = 220 }) {
  const ref = useRef(null);
  const [isHovered, setIsHovered] = useState(false);
  const [isRolling, setIsRolling] = useState(false);
  const [stampedIds, setStampedIds] = useState([0, 1]);
  const [currentStampIdx, setCurrentStampIdx] = useState(2);
  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 });
  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);
  };
  const handleClick = () => {
    if (isRolling || currentStampIdx >= 6) return;
    setIsRolling(true);
    setTimeout(() => {
      setStampedIds((prev) => [...prev, currentStampIdx]);
      setCurrentStampIdx((prev) => prev + 1);
      setIsRolling(false);
    }, 600);
  };
  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' }} 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)' }}>{collectionName}</p><p className="text-[9px]" style={{ color: 'rgba(232,168,124,0.37)' }}>{carver}</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)' }}>{isRolling ? 'ROLLING' : 'STAMP'}</motion.div>
            </div>
          </div>
        </motion.div>
      </motion.div>
    </div>
  );
}

Where Clay Stamp Card fits

  • Sequential content reveal
  • Collectible showcases
  • Artisanal portfolios
  • Timeline displays
  • Achievement systems

Interaction states & animations

  • Stamp impression
  • Cylinder rolling
  • Surface texturing
  • Depth animation
  • Sequential imprint

Topics

  • #claymorphism
  • #stamp
  • #impression
  • #texture
  • #geometric
  • #organic
  • #rolling
  • #artisan

Accessibility notes

The stamp roll animation is decorative. The stamp impressions rely on visual depth changes. Provide text alternatives for stamp names and types. The rolling animation may be distracting for some users.

Browser support

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