tween
ComponentsTemplatesShowcaseContact

Command Palette

Search for a command to run...

Getting Started
  • Introduction
  • Installation
  • StoryNew
Guides
  • Motion Principles
  • Scroll and Smooth Scroll
  • Performance and Accessibility
Scroll Animations
  • Sticky Cards Scroll
  • Rise Fan Cards Scroll
  • Rotate Stack Scroll
  • Doodle Lens ScrollNew
  • Slit Open Hero ScrollNew
  • Logo Mask Zoom ScrollNew
  • ASCII Dissolve ScrollNew
  • Lottie Flight ScrollNew
  • Inline Icon Text ScrollNew
  • Starfield ScrollNew
  • Name Swap ScrollNew
  • Spotlight Gallery HeroNew
  • Slit Rotate Hero ScrollNew
  • Stroke Cover ScrollNew
  • Stroke Rows ScrollNew
Text Animations
  • Text Skew Reveal
  • Block Text Reveal
Hover & Cursor
  • Image Trail Cursor
  • Cursor Depth Logo
  • Physics Tag Drop
  • Elastic Card ListNew
  • Magnetic Cards SpringNew
Sliders & Carousels
  • Wheel Fullscreen Carousel
  • Ripple Displacement Slider
  • Three.js Blend Slider
  • Stacked Deck Slider
  • Orbit Cylinder SliderNew
  • Fan Stack SliderNew
  • Exponential Strip SliderNew
  • Dual Column SliderNew
Galleries & Grids
  • Scroll Wave Gallery
Menus & Navigation
  • Shrink Page MenuNew
Preloaders & Intros
  • Floating Items RevealNew
  • Word Cycle RevealNew
  • Tile Grid LoaderNew
Page Transitions
  • Panel Assembly TransitionNew
3D & WebGL
  • Fractal Glass Hero
  • Fluid Cursor Canvas
  • Fluid Portrait Hero
  • Fluid Gradient Canvas
  • Inversion Lens HoverNew
UI Elements
  • Circular Widgets
  • Vinyl Cover
  • Image Explosion Footer
  • Accordion Image FramesNew

(Tween) — Motion registry

Animated components & full sites, one command away.

Product

  • Components
  • Templates
  • Installation
  • Guides
  • Blog
  • Contact

Categories

  • Scroll Animations
  • Text Animations
  • Hover & Cursor
  • Sliders & Carousels
  • Galleries & Grids
  • Menus & Navigation
  • Preloaders & Intros
  • Page Transitions
  • 3D & WebGL
  • UI Elements
TWEEN
ease: power2.inOut0.00s
© 2026 TweenBack to topBuilt by mohammad
  1. Docs/
  2. Components/
  3. Word Cycle Reveal

Word Cycle Reveal

PreviousNext

A page-load reveal where a 000–100 counter runs while a title word and a framed image cycle, then the loader clips away and the image frame expands to fill the page.

Open in
word-cycle-reveal-demo

Rooms Made

Around

The Light

Stone, Lime and Shade

Halverne

Menu

Halverne

Houses

000

Practice Since 2008

components/ui/word-cycle-reveal-demo.tsx
import { WordCycleReveal } from "@/registry/tween/word-cycle-reveal"

export function WordCycleRevealDemo() {
  return <WordCycleReveal />
}

Installation

pnpm dlx shadcn@latest add https://tweenui.dev/r/word-cycle-reveal.json

Usage

import { WordCycleReveal } from "@/components/ui/word-cycle-reveal"
<WordCycleReveal
  brand="Halverne"
  words={["Houses", "Gardens", "Courts", "Shelter", "Studio"]}
  lines={["Rooms Made", "Around", "The Light"]}
  images={[
    "https://images.unsplash.com/photo-1599950278531-911e86d1467a?q=80&w=2400&h=1350&fit=crop&crop=center&auto=format",
    "https://images.unsplash.com/photo-1582934802734-7f704eee2fcc?q=80&w=2400&h=1350&fit=crop&crop=center&auto=format",
    "https://images.unsplash.com/photo-1743510928991-49e119554d80?q=80&w=2400&h=1350&fit=crop&crop=center&auto=format",
  ]}
/>

How it works:

  • For duration seconds, three linear tweens run side by side: the counter counts from 000 to 100, the second loader line steps through words, and the frame cycles through images three times. Meanwhile the image frame slides from the left padding back to its place beside the second headline line.
  • The loader text fades and the loader collapses to the top with a clip-path polygon on a custom hop ease.
  • The headline words slide in through masks (the middle line from the right, the others from the left), then the frame is pinned at its current box and grows to cover the whole container behind the mix-blend-mode: difference text.

All measurements come from the container, so it works inside a preview or any section. The Replay button remounts the stage. With prefers-reduced-motion: reduce the loader is skipped and the last image fills the background.

Props

PropTypeDefaultDescription
imagesstring[]6 imagesImages cycled in the frame.
brandstring"Halverne"First loader line and nav label.
wordsstring[]5 wordsWords cycled on the second loader line.
lines[string, string, string]["Rooms Made","Around","The Light"]Hero headline rows.
preloaderNotestring"Practice Since 2008"Bottom-right loader text.
footerstring"Stone, Lime and Shade"Hero footer line.
menuLabelstring"Menu"Nav right label.
durationnumber3Seconds the counter takes to reach 100.
backgroundstring"#f3eee6"Page background.
loaderBackgroundstring"#2b241f"Loader background.
showReplaybooleantrueShow the replay button.
classNamestring—Extra classes on the outer container.
Floating Items RevealTile Grid Loader

On This Page

InstallationUsageProps

Contribute

  • Report an issue
  • Request a feature
  • Edit this page