Skip to content

Mycelial Network Card

A living network of branching, growing fungal threads. Content nodes are fruiting bodies that bloom along the network. Hover spreads nutrients to an area, causing accelerated growth and branching. Clicking 'harvests' a fruiting body, which releases spores that drift and seed new connections. The network adapts its topology over time based on interaction patterns.

Mycelial Network Card

by FreeCsStyles Dev's

CardsOrganic Morph
🌐🎨⚛️💚🅰️🔥☁️
#fungus#mycelium#network#branching#growth#organic#spores#living#morph#fungal

Embed this component

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

<iframe src="/embed/mycelial-network-card" sandbox="allow-scripts" loading="lazy" title="Mycelial Network Card" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Mycelial Network 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="mycelial-card">
  <svg class="mycelial-svg" viewBox="0 0 100 100">
    <line x1="50" y1="45" x2="25" y2="25" stroke="rgba(163,230,53,0.15)" stroke-width="0.8"/>
    <line x1="50" y1="45" x2="75" y2="25" stroke="rgba(163,230,53,0.15)" stroke-width="0.8"/>
    <line x1="50" y1="45" x2="35" y2="55" stroke="rgba(163,230,53,0.12)" stroke-width="0.6"/>
  </svg>
  <div class="mycelial-nodes">
    <div class="mycelial-node" style="left:50%;top:45%"></div>
    <div class="mycelial-node" style="left:25%;top:25%"></div>
    <div class="mycelial-node" style="left:75%;top:25%"></div>
  </div>
  <div class="mycelial-content">
    <div class="mycelial-header">
      <div><div class="mycelial-title">The Wood Wide Web</div><div class="mycelial-sub">Mycologist</div></div>
      <div class="mycelial-status">RESTING</div>
    </div>
    <div class="mycelial-grid">
      <div class="mycelial-stat"><div class="mycelial-stat-val">3</div><div class="mycelial-stat-lbl">Active Nodes</div></div>
      <div class="mycelial-stat"><div class="mycelial-stat-val">0</div><div class="mycelial-stat-lbl">Harvested</div></div>
    </div>
    <div class="mycelial-hint">[▼ click to grow network]</div>
  </div>
</div>
<style>
.mycelial-card { position: relative; width: 220px; min-height: 300px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #080e06, #040a04); border: 1.5px solid rgba(163,230,53,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.3); cursor: pointer; }
.mycelial-card:hover { box-shadow: 0 0 30px rgba(163,230,53,0.08), 0 15px 40px rgba(0,0,0,0.4); }
.mycelial-svg { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.6; }
.mycelial-nodes { position: absolute; top: 5%; left: 5%; width: 90%; height: 55%; pointer-events: none; z-index: 4; }
.mycelial-node { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(163,230,53,0.3), rgba(163,230,53,0.1)); border: 1px solid rgba(163,230,53,0.15); cursor: pointer; pointer-events: auto; transform: translate(-50%,-50%); }
.mycelial-node:hover { box-shadow: 0 0 8px rgba(163,230,53,0.2); }
.mycelial-content { position: absolute; inset-x: 0; bottom: 0; z-index: 10; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,0.5), transparent); }
.mycelial-header { display: flex; justify-content: space-between; align-items: center; }
.mycelial-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); }
.mycelial-sub { font-size: 9px; color: rgba(163,230,53,0.44); }
.mycelial-status { padding: 2px 8px; border-radius: 2px; font-size: 7px; font-weight: 700; letter-spacing: 0.1em; color: #a3e635; background: rgba(163,230,53,0.08); border: 1px solid rgba(163,230,53,0.12); }
.mycelial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mycelial-stat { text-align: center; padding: 6px 4px; border-radius: 8px; background: rgba(163,230,53,0.02); border: 1px solid rgba(163,230,53,0.04); }
.mycelial-stat-val { font-size: 10px; font-weight: 600; color: #a3e635; }
.mycelial-stat-lbl { font-size: 7px; margin-top: 2px; color: rgba(255,255,255,0.2); }
.mycelial-hint { text-align: center; font-size: 7px; font-family: monospace; color: rgba(163,230,53,0.2); }
</style>
CSS
.mycelial-card { position: relative; width: 220px; min-height: 300px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #080e06, #040a04); border: 1.5px solid rgba(163,230,53,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.3); cursor: pointer; }
.mycelial-card:hover { box-shadow: 0 0 30px rgba(163,230,53,0.08), 0 15px 40px rgba(0,0,0,0.4); }
.mycelial-svg { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.6; }
.mycelial-nodes { position: absolute; top: 5%; left: 5%; width: 90%; height: 55%; pointer-events: none; z-index: 4; }
.mycelial-node { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(163,230,53,0.3), rgba(163,230,53,0.1)); border: 1px solid rgba(163,230,53,0.15); cursor: pointer; pointer-events: auto; transform: translate(-50%,-50%); }
.mycelial-node:hover { box-shadow: 0 0 8px rgba(163,230,53,0.2); }
.mycelial-content { position: absolute; inset-x: 0; bottom: 0; z-index: 10; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,0.5), transparent); }
.mycelial-header { display: flex; justify-content: space-between; align-items: center; }
.mycelial-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); }
.mycelial-sub { font-size: 9px; color: rgba(163,230,53,0.44); }
.mycelial-status { padding: 2px 8px; border-radius: 2px; font-size: 7px; font-weight: 700; letter-spacing: 0.1em; color: #a3e635; background: rgba(163,230,53,0.08); border: 1px solid rgba(163,230,53,0.12); }
.mycelial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mycelial-stat { text-align: center; padding: 6px 4px; border-radius: 8px; background: rgba(163,230,53,0.02); border: 1px solid rgba(163,230,53,0.04); }
.mycelial-stat-val { font-size: 10px; font-weight: 600; color: #a3e635; }
.mycelial-stat-lbl { font-size: 7px; margin-top: 2px; color: rgba(255,255,255,0.2); }
.mycelial-hint { text-align: center; font-size: 7px; font-family: monospace; color: rgba(163,230,53,0.2); }
Tailwind CSS
<div class="group relative w-[220px] min-h-[300px] rounded-2xl overflow-hidden border border-lime-400/20 shadow-lg group-hover:shadow-[0_0_30px_rgba(163,230,53,0.08),0_15px_40px_rgba(0,0,0,0.4)] bg-gradient-to-b from-[#080e06] to-[#040a04] cursor-pointer">
  <svg class="absolute inset-0 z-[3] pointer-events-none opacity-60" viewBox="0 0 100 100">
    <line x1="50" y1="45" x2="25" y2="25" stroke="rgba(163,230,53,0.15)" stroke-width="0.8"/>
    <line x1="50" y1="45" x2="75" y2="25" stroke="rgba(163,230,53,0.15)" stroke-width="0.8"/>
    <line x1="50" y1="45" x2="35" y2="55" stroke="rgba(163,230,53,0.12)" stroke-width="0.6"/>
  </svg>
  <div class="absolute inset-x-0 bottom-0 z-10 p-5 space-y-2 bg-gradient-to-t from-black/50 to-transparent">
    <div class="flex items-center justify-between">
      <div><p class="text-sm font-bold text-white/90">The Wood Wide Web</p><p class="text-[9px] text-lime-400/50">Mycologist</p></div>
      <div class="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest text-lime-400 bg-lime-500/10 border border-lime-500/20">RESTING</div>
    </div>
    <div class="h-px bg-gradient-to-r from-transparent via-lime-500/10 to-transparent"></div>
    <div class="grid grid-cols-2 gap-2">
      <div class="text-center py-1.5 rounded-lg bg-lime-500/10 border border-lime-500/20"><p class="text-[10px] font-semibold text-lime-400">3</p><p class="text-[7px] mt-0.5 text-white/20">Active Nodes</p></div>
      <div class="text-center py-1.5 rounded-lg bg-lime-500/10 border border-lime-500/20"><p class="text-[10px] font-semibold text-lime-400">0</p><p class="text-[7px] mt-0.5 text-white/20">Harvested</p></div>
    </div>
    <div class="text-center"><span class="text-[7px] font-mono text-lime-400/30">[▼ click to grow network]</span></div>
  </div>
</div>
React
import React, { useState, useRef, useCallback } from 'react';
import { motion, useMotionValue, useSpring, AnimatePresence } from 'framer-motion';

export function MycelialNetworkCard() {
  const ref = useRef(null);
  const [isHovered, setIsHovered] = useState(false);
  const [nodes, setNodes] = useState([{id:0,x:50,y:45,connections:[1,2],size:12},{id:1,x:25,y:25,connections:[],size:8},{id:2,x:75,y:25,connections:[],size:8}]);
  const [spores, setSpores] = useState([]);
  const [harvested, setHarvested] = useState(0);
  const [hoveredNode, setHoveredNode] = useState(null);
  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 harvestNode = (id, e) => {
    e.stopPropagation();
    setNodes((prev) => prev.filter((n) => n.id !== id));
    setHarvested((h) => h + 1);
    setTimeout(() => setNodes((prev) => [...prev, {id:Date.now(),x:20+Math.random()*60,y:10+Math.random()*40,connections:[],size:6+Math.random()*5}]), 2000);
  };
  return (
    <div onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => { setIsHovered(false); x.set(0); y.set(0); }}>
      <motion.div ref={ref} onMouseMove={handleMouseMove} style={{ rotateX, rotateY, transformStyle: 'preserve-3d' }} className="relative cursor-pointer">
        <motion.div className="relative overflow-hidden rounded-2xl" style={{ width: 220, minHeight: 300, background: 'linear-gradient(160deg, #080e06, #040a04)', border: '1.5px solid rgba(163,230,53,0.08)' }}
          animate={{ boxShadow: isHovered ? '0 0 30px rgba(163,230,53,0.08), 0 15px 40px rgba(0,0,0,0.4)' : '0 10px 30px rgba(0,0,0,0.3)' }} transition={{ type: 'spring', stiffness: 280, damping: 20 }}>
          <svg className="absolute inset-0 z-[3] pointer-events-none" viewBox="0 0 100 100" style={{ width: '100%', height: '100%' }}>
            {nodes.map((node) => node.connections.map((c) => <motion.line key={`${node.id}-${c}`} x1={node.x} y1={node.y} x2={nodes.find((n) => n.id===c)?.x||50} y2={nodes.find((n) => n.id===c)?.y||45} stroke="#a3e635" strokeWidth={0.3+node.size*0.03} strokeOpacity={isHovered?0.15:0.08} initial={{pathLength:0}} animate={{pathLength:1}} transition={{duration:1.5}} />))}
          </svg>
          <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.5), transparent)' }}>
            <div className="flex items-center justify-between">
              <div><p className="text-sm font-bold" style={{ color: 'rgba(255,255,255,0.9)' }}>The Wood Wide Web</p><p className="text-[9px]" style={{ color: 'rgba(163,230,53,0.44)' }}>Mycologist</p></div>
              <motion.div className="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest" style={{ background: 'rgba(163,230,53,0.08)', border: '1px solid rgba(163,230,53,0.12)', color: '#a3e635' }}>{isHovered ? 'FEEDING' : 'RESTING'}</motion.div>
            </div>
            <div className="h-px" style={{ background: 'linear-gradient(90deg, transparent, rgba(163,230,53,0.1), transparent)' }} />
            <div className="grid grid-cols-2 gap-2">
              <div className="text-center py-1.5 rounded-lg" style={{ background: 'rgba(163,230,53,0.02)', border: '1px solid rgba(163,230,53,0.04)' }}><p className="text-[10px] font-semibold" style={{ color: '#a3e635' }}>{nodes.length}</p><p className="text-[7px] mt-0.5" style={{ color: 'rgba(255,255,255,0.2)' }}>Active Nodes</p></div>
              <div className="text-center py-1.5 rounded-lg" style={{ background: 'rgba(163,230,53,0.02)', border: '1px solid rgba(163,230,53,0.04)' }}><p className="text-[10px] font-semibold" style={{ color: '#84cc16' }}>{harvested}</p><p className="text-[7px] mt-0.5" style={{ color: 'rgba(255,255,255,0.2)' }}>Harvested</p></div>
            </div>
            <motion.div className="text-center" animate={isHovered ? { y: [0, -1, 0] } : {}} transition={{ duration: 1.5, repeat: isHovered ? Infinity : 0 }}>
              <span className="text-[7px] font-mono" style={{ color: 'rgba(163,230,53,0.2)' }}>[▼ click nodes to harvest]</span>
            </motion.div>
          </div>
        </motion.div>
      </motion.div>
    </div>
  );
}

Where Mycelial Network Card fits

  • Biological network visualization
  • Growth simulation interfaces
  • Interactive data topology
  • Natural systems dashboards
  • Generative art panels

Interaction states & animations

  • Network branching
  • Fruiting body bloom
  • Spore drift
  • Nutrient spread
  • Topology adaptation

Topics

  • #fungus
  • #mycelium
  • #network
  • #branching
  • #growth
  • #organic
  • #spores
  • #living
  • #morph
  • #fungal

Accessibility notes

The branching network may be visually complex. Provide simplified static representation for reduced motion preferences. Spore animations are purely decorative.

Browser support

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