Back to AIX Effects LibraryQA Verified · Synced
Typography & Text/<KineticWordSwitcher />·Beginner

Kinetic Word Switcher

Supports automated timed keyword rotation plus instant manual click/keyboard advancement inside clean clipped slots.

Next.js 16+React 19TypeScriptTailwind CSSFramer Motion
Interfaces shaped by
Precision

Click headline slot or switch slide/blur mode via controls.

Installation

npm install framer-motion
framer-motion^13.4.0

Coordinates crisp sequential enter/exit phrase animations.

Usage

import { KineticWordSwitcher } from '@/components/effects/library/typography/KineticWordSwitcher'

<KineticWordSwitcher
  prefix="Giao diện dẫn dắt bởi"
  words={['Chuyển động', 'Tốc độ', 'Sự tinh gọn']}
  intervalMs={2400}
  transitionStyle="slide"
/>

Props & API Reference

6 props
PropTypeDefaultDescriptionEffect
prefixstringundefinedStatic contextual lead line.Provides fixed semantic framing above active word.
wordsstring[](required)Ordered array of rotating phrases.Cycles deterministically across each word.
transitionStyle'slide' | 'blur''slide'Swap transition animation preset.Alters exit/enter motion behavior.
intervalMsnumber2400Auto-advance timer delay in milliseconds.Controls rotation pacing.
pausedbooleanfalseFreezes automatic interval timer cleanly.Disables timer while retaining click advance.
accentColorstring'#536dfe'Text color applied to active phrase.Styles rotating keyword highlight.

More in Typography & Text

View All 36 →

Crafteveryframewithintent.

Split Text Reveal

Clip-masked word or character headline rise choreography with zero CLS.

View Details
blur(12px) → 0px

Opticalclaritysharpeneddeliberatelywordbyword.

Click Refocus or adjust blur radius slider

Blur & Focus Reveal

Words lock sharply into view from initial Gaussian blur and micro-scale compression.

View Details