StealThis .dev

3D Product Showcase

Interactive 3D product viewer with PBR materials, three-point lighting, and orbit controls.

Open in Lab
three.jspbr-materialorbit
Targets: JS HTML

Code

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body { background: #050508; color: #f0f4fb; font-family: 'Inter', 'SF Pro Display', system-ui, sans-serif; overflow: hidden; height: 100vh; }

#canvas-container { position: fixed; inset: 0; z-index: 0; }
#canvas-container canvas { display: block; width: 100%; height: 100%; }

.overlay {
  position: fixed; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding: 3rem;
  pointer-events: none;
}

.info-panel {
  pointer-events: auto; max-width: 340px;
  background: rgba(12,15,25,0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(134,232,255,0.1); border-radius: 18px; padding: 2rem;
}

.eyebrow { display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: #86e8ff; margin-bottom: 0.6rem; }

h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }

.subtitle { font-size: 0.82rem; color: #8a95a8; line-height: 1.5; margin-bottom: 1.2rem; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.2rem; }
.spec { background: rgba(134,232,255,0.05); border-radius: 8px; padding: 0.6rem 0.8rem; }
.spec-label { display: block; font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #8a95a8; margin-bottom: 0.15rem; }
.spec-value { font-size: 0.85rem; font-weight: 600; color: #86e8ff; }

.controls { display: flex; gap: 0.5rem; }
.ctrl-btn {
  flex: 1; padding: 0.55rem; border-radius: 8px;
  border: 1px solid rgba(134,232,255,0.2); background: rgba(134,232,255,0.06);
  color: #86e8ff; font: 600 0.75rem/1 'Inter', system-ui, sans-serif;
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.ctrl-btn:hover { background: rgba(134,232,255,0.12); border-color: #86e8ff; }

.btn-back {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 10;
  padding: 0.6rem 1.5rem; border-radius: 999px;
  border: 1px solid rgba(134,232,255,0.2); color: #86e8ff; text-decoration: none;
  font: 600 0.8rem/1 'Inter', system-ui, sans-serif;
  background: rgba(5,5,8,0.7); backdrop-filter: blur(8px); transition: all 0.25s;
}
.btn-back:hover { background: rgba(134,232,255,0.08); border-color: #86e8ff; }

@media (max-width: 640px) {
  .overlay { padding: 1.5rem; align-items: flex-end; }
  .info-panel { max-width: 100%; }
}

3D Product Showcase

Interactive 3D product viewer with PBR materials, three-point lighting, and orbit controls.

Source

  • Repository: libs-genclaude
  • Original demo id: 08-product-showcase

Notes

Interactive 3D product viewer with PBR materials, three-point lighting, and orbit controls.