Proxy
Provide a surrogate or placeholder, such as a skeleton screen, until the true content manifests.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Proxy
ARCANUM SCHOOL: Illusion // Phantom Replacements
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
/* Proxy skeleton before the true arcane knowledge is loaded */
.ward-proxy {
background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite linear;
min-height: 100px;
border-radius: 4px;
pointer-events: none;
}
@keyframes shimmer {
0% { background-position: -200% 0; }
100% { background-position: 200% 0; }
}
The Proxy pattern provides a temporary visual illusion of structure, easing the user’s perception while waiting for asynchronous magical data streams to complete loading.
Runic Tags:
#css
#skeleton
#loading
#design-patterns