Particle Logo

로고를 웹사이트 로딩 애니메이션으로 활용하는 방법

로딩 완료에 딱 맞춰 로고를 완성하려면 Vue·React의 progress prop을, 무료 HTML만 사용한다면 로드 완료 시 사라지는 오버레이를 적용하세요.

업데이트:

방법 1: 실제 로딩 진행률과 연동 (Vue 또는 React, Pro)

0~100 범위의 progress prop을 넘기면 로딩 완료 시점(100)에 맞춰 로고가 완성됩니다:

import { PixelLogoLoader } from './components/PixelLogoLoader';

<PixelLogoLoader progress={progress} height={360} />

전체 예제는 Vue 3 가이드 및 React 가이드에 있습니다.

방법 2: 무료 HTML 내보내기를 오버레이로 띄우고 로드 후 제거

<body> 시작 부분에 오버레이를 두고 페이지 load 완료 후(최소 1.5초 유지) 제거합니다:

<div id="logo-loader" style="position:fixed;inset:0;z-index:9999;background:#000;display:grid;place-items:center">
  <iframe src="/particle-logo/index.html" title="Loading" width="480" height="520" style="border:0;max-width:100%"></iframe>
</div>
<script>
  const loader = document.getElementById('logo-loader');
  const shownAt = performance.now();
  const MIN_MS = 1500; // 최소 1.5초 동안 애니메이션 표시
  function hide() {
    setTimeout(() => loader.remove(), Math.max(0, MIN_MS - (performance.now() - shownAt)));
  }
  if (document.readyState === 'complete') hide();
  else window.addEventListener('load', hide);
</script>

동작 줄이기 설정 존중

Vue/React에서는 progress=100을 전달하고 오버레이는 표시를 건너뛸 수 있습니다.

방문자가 다운로드하는 파일 크기

2026년 11월 3일 실측 결과입니다(스텝 4 기준, 괄호는 gzip):

테스트 로고샘플링 포인트HTML 파일Vue 컴포넌트React 컴포넌트
흰색 4글자 워드마크 (단색)58922.4 KB (6.4 KB gzip)24.2 KB (6.9 KB gzip)25.1 KB (7.0 KB gzip)
5색 기하학 마크4,13966.5 KB (12.3 KB gzip)68.2 KB (12.9 KB gzip)69.2 KB (13.1 KB gzip)
Particle Logo 자체 마크 (실버 단색)7,08235.8 KB (11.0 KB gzip)37.5 KB (11.6 KB gzip)38.4 KB (11.7 KB gzip)

최대 1,600개 포인트가 내장되어 실행 시 네트워크 요청이 없습니다. 자세한 요금은 요금 안내를 확인하세요.

워크벤치 열기

다른 가이드