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. Floating Items Reveal

Floating Items Reveal

PreviousNext

A page-load reveal where colour discs clip open from the centre, four tilted images fly out and bob around a logo, then blast off-screen as the hero rises in.

Open in
floating-items-reveal-demo
Embrook
MenuThe BarCellarReserveVisitOrder

Slow broths, cured cuts and a glass kept cold for you

Stocks Simmered Daily

Walk-ins Welcome

components/ui/floating-items-reveal-demo.tsx
import { FloatingItemsReveal } from "@/registry/tween/floating-items-reveal"

export function FloatingItemsRevealDemo() {
  return <FloatingItemsReveal />
}

Installation

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

Usage

import { FloatingItemsReveal } from "@/components/ui/floating-items-reveal"
<FloatingItemsReveal
  items={["/plate-1.jpg", "/plate-2.jpg", "/plate-3.jpg", "/plate-4.jpg"]}
  heroImage="/hero-plate.png"
  heading="Slow broths, cured cuts and a glass kept cold for you"
/>

One GSAP timeline plays on mount:

  • Four full-size layers open one after another with clip-path: circle() from the centre, each in a new colour.
  • The four items scale up from the centre and fly to tilted positions around the container, each starting an endless sine.inOut bob on its image while the logo fades in.
  • After a beat the bobbing stops and the items fly 3.5x further out with extra spin and scale, while the logo shoots upward.
  • The nav logo pops in, nav words slide up through masks, the headline characters spring in with elastic.out, the footer lines rise, and the hero disc scales up as the image slides up behind the headline.

Item positions are fractions of the container size, so it fits any preview or section. The Replay button remounts the stage and plays the timeline again. When prefers-reduced-motion: reduce is set the preloader is skipped and the hero renders in its final state.

Props

PropTypeDefaultDescription
itemsstring[]4 dark-table shotsImages that fly out, bob and exit. Four positions are used.
heroImagestringround plated dishImage that rises over the disc at the bottom.
logostringinline SVG markLogo shown in the preloader and the nav.
navLinksstring[]6 linksNav labels.
headingstringEmbrook headlineHeadline split into characters.
footerLeftstring"Stocks Simmered Daily"Bottom-left line.
footerRightstring"Walk-ins Welcome"Bottom-right line.
revealColorsstring[]4 ember tonesColours of the circle-clip layers, in order.
accentstring"#c4451c"Colour of the disc behind the hero image.
backgroundstring"#120d0a"Page background.
foregroundstring"#f2e3c9"Text colour.
showReplaybooleantrueShow the replay button.
classNamestring—Extra classes on the outer container.
Shrink Page MenuWord Cycle Reveal

On This Page

InstallationUsageProps

Contribute

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