GoldTreeDevGTD UI

문서 제목, 아이콘 이름, 앱 이름으로 검색할 수 있어요.

전체 문서 보기 이동 · Enter 열기 · Esc 닫기

PerspectiveText

New

스크롤 위치에 따라 여러 텍스트 줄이 3D 원근으로 회전해요.

사용법

각 문장이 화면 중심을 지날 때 원근 회전이 달라져요.

깊이를 더하고
시선을 이끌고
이야기를 완성해요

인터페이스

PerspectiveTextProps

속성타입기본값설명
perspectivenumber900원근 거리(px)
maxRotatenumber52최대 회전각(deg)
classNamestring루트 클래스
styleCSSProperties인라인 스타일·CSS 변수

PerspectiveText 컴포넌트 Props 표

가져오기

모션 CSS는 @goldtreedev/ui/motion.css를 함께 import해요.

@import "@goldtreedev/ui/motion.css";

import { PerspectiveText } from "@goldtreedev/ui";
PerspectiveText · 모션 UI | GoldTreeDev Docs