HyperFrames 레지스트리은(는) 무엇을 하나요?
npx hyperframes registry search <query>
npx hyperframes registry add <block-name>
npx hyperframes registry list
npx hyperframes registry remove <block-name>
npx hyperframes registry update
블록 카테고리
| 카테고리 | 예시 |
|---|
lower-thirds | 이름 배지, 발표자 ID |
title-cards | 히어로 타이틀, 챕터 카드 |
transitions | 사용자 정의 장면 전환 |
overlays | 진행률 표시줄, 타이머, 로고 |
data-viz | 애니메이션 차트, 카운터 |
captions | 스타일이 적용된 자막 렌더러 |
backgrounds | 애니메이션 그라데이션, 입자 필드 |
cta | 클릭 유도 문구 카드, QR 코드 |
social | 플랫폼 세이프 존 프레임 |
사용법
npx hyperframes registry add lower-thirds/minimal
<link rel="hf-block" href="./blocks/lower-thirds/minimal/block.html" as="lower-third-minimal" />
<hf-block name="lower-third-minimal"
data-hf-clip data-hf-start="3s" data-hf-duration="4s"
data-name="Jane Smith" data-title="Head of Product"
style="position:absolute;bottom:80px;left:80px;">
</hf-block>
인기 블록
lower-thirds/minimal — 이름 + 직함 배지
lower-thirds/social — 이름 + 소셜 핸들 + 플랫폼 아이콘
title-cards/hero — 전체 화면 타이틀 카드
overlays/progress-bar — 재생 진행률 표시줄
data-viz/counter — 애니메이션 숫자 카운터 (data-from, data-to, data-suffix)
backgrounds/gradient-mesh — 애니메이션 그라데이션 메시
cta/link-card — 아이콘이 있는 애니메이션 URL 카드
social/youtube-safe-zone — 세이프 존 QA 오버레이
사용자 정의 블록 구조
my-block/
block.html
block.json # { "name", "version", "props": { "data-x": { "type", "default" } } }
preview.png
npx hyperframes registry publish ./my-block