Living Blueprint Card
The card builds itself while the user watches. Features a blueprint grid background, engineering crosshairs, dimension lines, and a click-driven construction sequence. Click to progress through 4 build phases: foundation, walls, roof, and completion.
by FreeCsStyles Dev's
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/living-blueprint-card.
<iframe src="/embed/living-blueprint-card" sandbox="allow-scripts" loading="lazy" title="Living Blueprint Card" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Living Blueprint 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="blueprint-card">
<div class="bp-grid"></div>
<div class="bp-crosshair"></div>
<div class="bp-content">
<div class="bp-header">
<div>
<div class="bp-title">Project Atlas</div>
<div class="bp-version">BLUEPRINT v2.4</div>
</div>
<div class="bp-status">IN PROGRESS</div>
</div>
<div class="bp-progress">
<div class="bp-progress-h"><span>COMPLETION</span><span>64%</span></div>
<div class="bp-progress-track"><div class="bp-progress-fill" style="width: 64%"></div></div>
</div>
<div class="bp-specs">
<div class="bp-spec"><div class="bp-spec-val">64%</div><div class="bp-spec-lbl">DONE</div></div>
<div class="bp-spec"><div class="bp-spec-val">128</div><div class="bp-spec-lbl">LINES</div></div>
<div class="bp-spec"><div class="bp-spec-val">128</div><div class="bp-spec-lbl">NODES</div></div>
<div class="bp-spec"><div class="bp-spec-val">BUILD</div><div class="bp-spec-lbl">STATUS</div></div>
</div>
</div>
</div>CSS
.blueprint-card {
position: relative;
width: 210px;
min-height: 290px;
border-radius: 12px;
overflow: hidden;
background: linear-gradient(160deg, #0a1628, #060e1a);
border: 1.5px solid rgba(74,143,224,0.12);
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
transition: all 0.4s ease;
cursor: pointer;
}
.blueprint-card:hover {
box-shadow: 0 0 30px rgba(74,143,224,0.08), 0 15px 40px rgba(0,0,0,0.4);
}
.bp-grid {
position: absolute;
inset: 0;
pointer-events: none;
background-image: linear-gradient(90deg, rgba(74,143,224,0.04) 1px, transparent 1px), linear-gradient(0deg, rgba(74,143,224,0.04) 1px, transparent 1px);
background-size: 20px 20px;
}
.bp-crosshair {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
pointer-events: none;
z-index: 1;
}
.bp-crosshair::before {
content: '';
position: absolute;
width: 16px;
height: 1px;
background: rgba(74,143,224,0.15);
top: 0;
left: -8px;
}
.bp-crosshair::after {
content: '';
position: absolute;
width: 1px;
height: 16px;
background: rgba(74,143,224,0.15);
top: -8px;
left: 0;
}
.bp-content {
position: relative;
z-index: 10;
padding: 20px;
display: flex;
flex-direction: column;
gap: 12px;
}
.bp-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.bp-title {
font-size: 14px;
font-weight: 700;
letter-spacing: 0.02em;
color: rgba(255,255,255,0.9);
}
.bp-version {
font-size: 9px;
font-family: monospace;
color: rgba(74,143,224,0.5);
}
.bp-status {
padding: 2px 8px;
border-radius: 2px;
font-size: 7px;
font-weight: 700;
letter-spacing: 0.1em;
font-family: monospace;
background: rgba(74,143,224,0.1);
border: 1px solid rgba(74,143,224,0.15);
color: #4a8fe0;
}
.bp-progress {}
.bp-progress-h {
display: flex;
justify-content: space-between;
margin-bottom: 4px;
}
.bp-progress-h span:first-child {
font-size: 8px;
font-family: monospace;
color: rgba(74,143,224,0.4);
}
.bp-progress-h span:last-child {
font-size: 8px;
font-weight: 700;
font-family: monospace;
color: #4a8fe0;
}
.bp-progress-track {
height: 6px;
border-radius: 8px;
background: rgba(74,143,224,0.06);
overflow: hidden;
}
.bp-progress-fill {
height: 100%;
border-radius: 8px;
background: linear-gradient(90deg, #2a6fc0, #4a8fe0);
transition: width 1.5s ease-out;
}
.bp-specs {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.bp-spec {
text-align: center;
padding: 6px 4px;
border-radius: 4px;
background: rgba(74,143,224,0.04);
border: 1px solid rgba(74,143,224,0.08);
}
.bp-spec-val {
font-size: 11px;
font-weight: 700;
font-family: monospace;
color: #4a8fe0;
}
.bp-spec-lbl {
font-size: 6px;
margin-top: 2px;
font-family: monospace;
letter-spacing: 0.05em;
color: rgba(74,143,224,0.4);
}
@media (prefers-reduced-motion: reduce) {
.blueprint-card { transition: none; }
.blueprint-card:hover { transform: none; }
.bp-progress-fill { transition: none; }
}Tailwind CSS
<div class="group relative w-[210px] min-h-[290px] rounded-xl overflow-hidden border border-blue-500/20 shadow-lg group-hover:shadow-[0_0_30px_rgba(74,143,224,0.08),0_15px_40px_rgba(0,0,0,0.4)] bg-gradient-to-br from-[#0a1628] to-[#060e1a] cursor-pointer">
<div class="absolute inset-0 pointer-events-none" style="background-image: linear-gradient(90deg, rgba(74,143,224,0.04) 1px, transparent 1px), linear-gradient(0deg, rgba(74,143,224,0.04) 1px, transparent 1px); background-size: 20px 20px;"></div>
<div class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 pointer-events-none z-[1]">
<div class="w-4 h-px bg-blue-500/20"></div>
<div class="w-px h-4 bg-blue-500/20 -translate-x-1/2 -translate-y-1/2"></div>
</div>
<div class="relative z-10 p-5 space-y-3">
<div class="flex items-center justify-between">
<div><p class="text-sm font-bold tracking-wide text-white/90">Project Atlas</p><p class="text-[9px] font-mono text-blue-500/50">BLUEPRINT v2.4</p></div>
<div class="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest font-mono text-blue-400 bg-blue-500/10 border border-blue-500/20">IN PROGRESS</div>
</div>
<div class="space-y-1">
<div class="flex justify-between"><span class="text-[8px] font-mono text-blue-500/40">COMPLETION</span><span class="text-[8px] font-bold font-mono text-blue-400">64%</span></div>
<div class="h-1.5 rounded-full bg-blue-500/10 overflow-hidden"><div class="h-full rounded-full bg-gradient-to-r from-blue-600 to-blue-400" style="width: 64%"></div></div>
</div>
<div class="grid grid-cols-2 gap-2">
<div class="text-center py-1.5 rounded bg-blue-500/10 border border-blue-500/20"><p class="text-[11px] font-bold font-mono text-blue-400">64%</p><p class="text-[6px] mt-0.5 font-mono tracking-wider text-blue-500/40">DONE</p></div>
<div class="text-center py-1.5 rounded bg-blue-500/10 border border-blue-500/20"><p class="text-[11px] font-bold font-mono text-blue-400">128</p><p class="text-[6px] mt-0.5 font-mono tracking-wider text-blue-500/40">LINES</p></div>
<div class="text-center py-1.5 rounded bg-blue-500/10 border border-blue-500/20"><p class="text-[11px] font-bold font-mono text-blue-400">128</p><p class="text-[6px] mt-0.5 font-mono tracking-wider text-blue-500/40">NODES</p></div>
<div class="text-center py-1.5 rounded bg-blue-500/10 border border-blue-500/20"><p class="text-[11px] font-bold font-mono text-blue-400">BUILD</p><p class="text-[6px] mt-0.5 font-mono tracking-wider text-blue-500/40">STATUS</p></div>
</div>
</div>
</div>React
import React, { useState } from 'react';
import { motion } from 'framer-motion';
export function LivingBlueprintCard() {
const [isHovered, setIsHovered] = useState(false);
const [buildPhase, setBuildPhase] = useState(0);
const handleClick = () => setBuildPhase((prev) => (prev >= 3 ? 0 : prev + 1));
return (
<div onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} onClick={handleClick} style={{ cursor: 'pointer' }}>
<motion.div className="relative overflow-hidden rounded-xl" style={{ width: 210, minHeight: 290, background: 'linear-gradient(160deg, #0a1628, #060e1a)', border: '1.5px solid rgba(74,143,224,0.12)' }}
animate={{ boxShadow: isHovered ? '0 0 30px rgba(74,143,224,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 }}>
<div className="absolute inset-0 pointer-events-none" style={{ backgroundImage: 'linear-gradient(90deg, rgba(74,143,224,0.04) 1px, transparent 1px), linear-gradient(0deg, rgba(74,143,224,0.04) 1px, transparent 1px)', backgroundSize: '20px 20px' }} />
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 pointer-events-none z-[1]">
<div className="w-4 h-px" style={{ background: '#4a8fe0', opacity: 0.15 }} />
<div className="w-px h-4" style={{ background: '#4a8fe0', opacity: 0.15 }} />
</div>
<div className="absolute inset-0 pointer-events-none z-[2]">
{buildPhase >= 1 && (
<>
<motion.div className="absolute bottom-[32%] left-[18%] right-[18%] h-px" style={{ background: 'repeating-linear-gradient(90deg, #4a8fe0, #4a8fe0 4px, transparent 4px, transparent 8px)', opacity: 0.3 }} initial={{ scaleX: 0 }} animate={{ scaleX: 1 }} transition={{ duration: 0.5 }} />
<motion.div className="absolute bottom-[32%] left-[20%] w-px" style={{ background: '#4a8fe0', height: '40%', opacity: 0.2 }} initial={{ scaleY: 0 }} animate={{ scaleY: 1 }} transition={{ duration: 0.6, delay: 0.2 }} />
<motion.div className="absolute bottom-[32%] right-[20%] w-px" style={{ background: '#4a8fe0', height: '40%', opacity: 0.2 }} initial={{ scaleY: 0 }} animate={{ scaleY: 1 }} transition={{ duration: 0.6, delay: 0.4 }} />
<motion.div className="absolute bottom-[72%] left-[20%] right-[20%] h-px" style={{ background: '#4a8fe0', opacity: 0.2 }} initial={{ scaleX: 0 }} animate={{ scaleX: 1 }} transition={{ duration: 0.6, delay: 0.3 }} />
</>
)}
{buildPhase >= 2 && (
<motion.div className="absolute" style={{ bottom: '72%', left: '20%', right: '20%', height: 0, borderLeft: '22px solid transparent', borderRight: '22px solid transparent', borderBottom: '18px solid rgba(74,143,224,0.15)' }}
initial={{ opacity: 0, y: 10 }} animate={{ opacity: 0.4, y: 0 }} transition={{ duration: 0.8, delay: 0.5 }} />
)}
{buildPhase >= 3 && (
<motion.div className="absolute inset-0 flex items-center justify-center" style={{ background: 'rgba(10,22,40,0.6)' }} initial={{ opacity: 0 }} animate={{ opacity: 1 }} transition={{ duration: 0.8 }}>
<div className="text-center px-4 py-2 rounded-lg" style={{ background: 'rgba(74,143,224,0.1)', border: '1px solid rgba(74,143,224,0.15)' }}>
<p className="text-[10px] font-bold tracking-widest" style={{ color: '#4a8fe0' }}>BUILD COMPLETE</p>
<p className="text-[8px] mt-1" style={{ color: 'rgba(74,143,224,0.6)' }}>✓ All systems operational</p>
</div>
</motion.div>
)}
</div>
<motion.div className="absolute top-0 left-1/2 w-px h-full pointer-events-none z-[1]" style={{ background: 'linear-gradient(180deg, transparent, rgba(74,143,224,0.1), transparent)' }} animate={isHovered ? { opacity: [0, 0.4, 0] } : { opacity: 0 }} transition={{ duration: 1.5, repeat: isHovered ? Infinity : 0 }} />
<motion.div className="absolute top-1/2 left-0 h-px w-full pointer-events-none z-[1]" style={{ background: 'linear-gradient(90deg, transparent, rgba(74,143,224,0.1), transparent)' }} animate={isHovered ? { opacity: [0, 0.4, 0] } : { opacity: 0 }} transition={{ duration: 1.5, repeat: isHovered ? Infinity : 0, delay: 0.3 }} />
<div className="relative z-10 p-5 space-y-3">
<div className="flex items-center justify-between">
<div><p className="text-sm font-bold tracking-wide text-white/90">Project Atlas</p><p className="text-[9px] font-mono" style={{ color: 'rgba(74,143,224,0.5)' }}>BLUEPRINT v2.4</p></div>
<motion.div className="px-2 py-0.5 rounded-sm text-[7px] font-bold tracking-widest font-mono" style={{ background: 'rgba(74,143,224,0.1)', border: '1px solid rgba(74,143,224,0.15)', color: '#4a8fe0' }}
animate={isHovered ? { opacity: [0.6, 1, 0.6] } : {}} transition={{ duration: 1.5, repeat: isHovered ? Infinity : 0 }}>IN PROGRESS</motion.div>
</div>
<div className="space-y-1">
<div className="flex justify-between"><span className="text-[8px] font-mono" style={{ color: 'rgba(74,143,224,0.4)' }}>COMPLETION</span><motion.span className="text-[8px] font-bold font-mono" style={{ color: '#4a8fe0' }} animate={isHovered ? { opacity: [0.6, 1, 0.6] } : {}} transition={{ duration: 1.5, repeat: isHovered ? Infinity : 0 }}>64%</motion.span></div>
<div className="h-1.5 rounded-full overflow-hidden" style={{ background: 'rgba(74,143,224,0.06)' }}><motion.div className="h-full rounded-full" style={{ background: 'linear-gradient(90deg, #2a6fc0, #4a8fe0)' }} initial={{ width: '0%' }} animate={{ width: '64%' }} transition={{ duration: 1.5, ease: 'easeOut' }} /></div>
</div>
<div className="grid grid-cols-2 gap-2">
{[{ label: 'LAYERS', value: `${buildPhase + 1}/4` }, { label: 'LINES', value: '128' }, { label: 'NODES', value: '128' }, { label: 'STATUS', value: buildPhase >= 3 ? 'DONE' : 'BUILD' }].map((spec) => (
<div key={spec.label} className="text-center py-1.5 rounded" style={{ background: 'rgba(74,143,224,0.04)', border: '1px solid rgba(74,143,224,0.08)' }}>
<p className="text-[11px] font-bold font-mono" style={{ color: '#4a8fe0' }}>{spec.value}</p>
<p className="text-[6px] mt-0.5 font-mono tracking-wider" style={{ color: 'rgba(74,143,224,0.4)' }}>{spec.label}</p>
</div>
))}
</div>
<motion.div className="text-center pt-1" animate={isHovered ? { y: [0, -1, 0] } : {}} transition={{ duration: 1.5, repeat: isHovered ? Infinity : 0 }}>
<span className="text-[7px] font-mono" style={{ color: 'rgba(74,143,224,0.35)' }}>{buildPhase >= 3 ? '[✓ rebuild]' : '[▼ click to build]'}</span>
</motion.div>
</div>
</motion.div>
</div>
);
}Where Living Blueprint Card fits
- Engineering
- Architecture
- Developer Tools
- AI Builders
- Construction
- Productivity
Interaction states & animations
- Line drawing
- CAD style
- Mechanical assembly
- Blueprint morph
- Construction steps
Topics
- #blueprint
- #cad
- #engineering
- #construction
- #building
- #drawing
- #architecture
- #technical
- #wireframe
- #interactive
Accessibility notes
Click-to-build should also trigger via keyboard. Ensure final content is visible without interaction. Provide prefers-reduced-motion that shows the completed state immediately.
Browser support
- Chrome 76+
- Firefox 90+
- Safari 13+
- Edge 79+