텍스트 애니메이션

Typewriter Cycle

한 글자씩 타이핑되고 커서가 깜빡이는 타이프라이터 효과. 여러 문장을 순차로 타이핑·삭제하며 순환할 수 있습니다.

분류
텍스트 애니메이션
난이도
medium
변형
TS-TW

설치

npx shadcn@latest add https://gasan.ai.kr/tools/effect/r/TypewriterCycle-TS-TW

Props

이름타입기본값설명
textstring | string[]—타이핑할 문장. 배열이면 순차 순환한다.
typingSpeednumber90글자 추가 간격(ms).
deletingSpeednumber45글자 삭제 간격(ms).
pauseDurationnumber1400문장 완성 후 삭제 전 대기(ms).
cursorBlinkSpeednumber530커서 깜빡임 주기(ms).
cursorCharstring"|"커서로 표시할 문자.
cursorColorstring"#C084FC"커서 색상(기본: 바이올렛).
loopbooleantrue문장 순환 여부. false면 마지막 문장에서 멈춘다.
classNamestringundefined래퍼에 적용할 CSS 클래스.