Component Architecture
Realm's components live under components/ across 10 subdirectories, totaling roughly 50 files. This page lists every component and its actual purpose.
layout/ — Layout shell
effects/ — WebGL and visual effects
interactive/ — Interactive widgets
sections/ — Content section components
detail/ — Detail page views
blog/ — Blog system
cards/ — Cards
mdx/ — MDX rendering components
shared/ — Shared UI components
telemetry/ — Telemetry
Component hierarchy
Key constraints
- Three.js components (
TesseractExperience,RainMorimeEffect) are all dynamically imported withssr: false; oncewebglReady, they never unmount to avoid GPU context churn (GOTCHAS #20) CustomCursorhover state must go through the reset helper, never directly mutate internal refs (GOTCHAS #12)ActivationLevermust be a semantic<button>, not a<div>(GOTCHAS #15)AnimatedTitleCharsdefaults to uppercase; blog titles must passuppercase={false}(GOTCHAS #17)navigateTo()is the only supported internal navigation method;router.push()skips transition animations (GOTCHAS #6)