LayerwiseLayerwise
  • Features
  • Pricing
  • Templates
  • Docs
DownloadDownload
FeaturesPricingTemplatesDocsAI Website BuilderVibe CodingPersonal Software
DownloadDownload
  1. Glossary
  2. /
  3. Entrances & exits

Reveal animation

Also called wipe animation, clip-path reveal, or mask reveal

An entrance where a moving edge uncovers an element, as if a curtain slides away, usually built with an animated clip-path.

import { motion, useReducedMotion } from 'motion/react';

// Use the same inset() shape at both ends so the browser can blend them.
const HIDDEN = 'inset(0 100% 0 0)';
const SHOWN = 'inset(0 0% 0 0)';
const WIPE = { duration: 0.9, ease: [0.77, 0, 0.175, 1] } as const;

export function HeroReveal() {
  const reduceMotion = useReducedMotion();
  const from = reduceMotion ? { opacity: 0 } : { clipPath: HIDDEN };
  const to = reduceMotion ? { opacity: 1 } : { clipPath: SHOWN };

  return (
    <section className='mx-auto flex max-w-3xl flex-col gap-6 px-6 py-20'>
      <motion.img
        src='/images/launch-hero.jpg'
        alt='A team reviewing a launch plan on a laptop'
        initial={from}
        animate={to}
        transition={WIPE}
        className='aspect-video w-full rounded-2xl object-cover'
      />
      <motion.h1
        initial={from}
        animate={to}
        transition={{ ...WIPE, delay: 0.15 }}
        className='text-4xl font-semibold tracking-tight text-foreground'
      >
        Launch day, without the scramble
      </motion.h1>
    </section>
  );
}
Reveal the hero image on load with a wipe from left to right: animate clip-path from inset(0 100% 0 0) to inset(0 0 0 0) over 900ms with cubic-bezier(0.77, 0, 0.175, 1), then reveal the headline the same way 150ms later. When prefers-reduced-motion is set, fade both in instead.

Paste into Layerwise or any AI coding tool.

What is Reveal animation?

A reveal keeps the element still and changes how much of it shows. A clipping shape grows from one edge, from the center, or as a circle until the whole element is visible, so it looks wiped onto the screen.

Designers use reveals for editorial headlines, hero images, and section openings on portfolios and product launches. Text reveals often place each line inside a box with overflow: hidden and slide the line up into view.

In CSS, animate clip-path with inset() or circle(). The browser can blend two shapes of the same kind, so use the same function at the start and the end. Because the layout never changes, a clip-path reveal is cheaper than animating width or height.

Often confused with

Scroll reveal
A scroll reveal is any entrance that plays when an element scrolls into view, often a fade or slide. A reveal animation is the wipe itself, whatever triggers it.

Related terms

All terms

Clip-path

A CSS property that cuts an element to a shape, such as a circle, an inset rectangle, or a polygon, and hides everything outside it.

Mask

A CSS technique that uses an image or gradient to set how visible each part of an element is, often used to fade edges softly.

Split text animation

A text animation that breaks a heading into characters, words, or lines and animates each piece in turn, so the text arrives as a wave.

Hero section

The large first section at the top of a landing page, with a headline, a short subhead, a call to action, and a visual.

Build it with Layerwise

Describe your app, watch it run in a live preview, and publish it with a database, storage, and sign-in built in.

DownloadDownloadRead the docs
LayerwiseLayerwise

Build full-stack web apps in minutes with AI.

Product

  • Features
  • Pricing
  • Download
  • Templates

Solutions

  • AI Website Builder
  • Vibe Coding
  • Personal Software

Resources

  • Documentation
  • Changelog
  • Blog
  • Vibe Coding Glossary
  • llms.txt
  • llms-full.txt

Company

  • About
  • Contact

Legal

  • Privacy
  • Analytics Privacy
  • Terms
  • Security
  • Abuse

© 2026 Layerwise. All rights reserved.

Entrances & exits

  • Fade in
  • Slide in
  • Scale in
  • Pop in
  • Blur in
  • Reveal animation
  • Enter and exit animations

Timing & sequencing

  • Duration
  • Delay
  • Keyframes
  • Tweening
  • Stagger
  • Orchestration
  • Fill mode
  • Stepped animation
  • Looping animation
  • Yoyo animation

Easing

  • Easing
  • Linear easing
  • Ease-in
  • Ease-out
  • Ease-in-out
  • Cubic-bezier
  • Asymmetric easing
  • Overshoot easing

Springs & physics

  • Spring animation
  • Stiffness
  • Damping
  • Mass
  • Bounce
  • Velocity
  • Momentum
  • Interruptible animation
  • Rubber-banding

Transforms

  • Translate
  • Scale
  • Rotate
  • Skew
  • 3D flip
  • Perspective
  • Transform origin
  • Origin-aware animation

State transitions

  • Crossfade
  • Morph
  • Shared element transition
  • Layout animation
  • Height auto animation
  • Direction-aware transition
  • Continuity transition
  • Page transition
  • View Transitions API

Scroll effects

  • Scroll reveal
  • Scroll-driven animation
  • Parallax scrolling
  • Scrollytelling
  • Scroll pinning
  • Horizontal scroll section
  • Scroll progress bar
  • Scroll snap
  • Smooth scrolling

Interaction feedback

  • Hover effect
  • Press feedback
  • Ripple effect
  • Shake animation
  • Hold to confirm
  • Drag gesture
  • Drag to reorder
  • Swipe to dismiss
  • Pull to refresh
  • Magnetic button
  • Custom cursor
  • 3D tilt card
  • Spotlight card

Text effects

  • Typewriter effect
  • Text scramble
  • Split text animation
  • Text morph
  • Rotating words
  • Gradient text
  • Shimmer text
  • Number ticker
  • Tabular numbers
  • Underline animation

Loops & ambient motion

  • Marquee
  • Pulse animation
  • Float animation
  • Orbit animation
  • Idle animation
  • Particle background
  • Border beam
  • Confetti
  • Animated gradient

Visual effects

  • Blur
  • Clip-path
  • Mask
  • Before/after slider
  • SVG line drawing
  • Lottie animation

Motion principles

  • Purposeful animation
  • Anticipation
  • Follow-through
  • Squash and stretch
  • Perceived performance
  • Frequency of use
  • Spatial consistency
  • Reduced motion

Animation performance

  • Frame rate (FPS)
  • Jank
  • GPU acceleration
  • will-change
  • Layout thrashing

Layout

  • Hero section
  • Above the fold
  • Sticky header
  • Sidebar
  • Bento grid
  • Card
  • Flexbox
  • CSS Grid
  • Padding vs margin
  • Responsive design
  • Container
  • Masonry layout
  • Split screen
  • Z-index
  • Overflow

Components

  • Button variants
  • Modal
  • Drawer
  • Popover
  • Tooltip
  • Dropdown menu
  • Context menu
  • Toast notification
  • Tabs
  • Segmented control
  • Accordion
  • Carousel
  • Command palette
  • Combobox
  • Toggle switch
  • Checkbox
  • Radio button
  • Date picker
  • Breadcrumb
  • Pagination
  • Infinite scroll
  • Badge
  • Avatar stack
  • Empty state
  • Skeleton screen
  • Spinner
  • Progress bar
  • Data table
  • Stepper
  • Floating label
  • Inline validation
  • Alert banner
  • Tag input

States & patterns

  • Interaction states
  • Focus ring
  • Loading state
  • Optimistic UI
  • Debounce
  • Lazy loading
  • Dark mode
  • Micro-interaction
  • Affordance
  • Undo
  • Drag and drop
  • Keyboard shortcut

Visual styles

  • Glassmorphism
  • Liquid glass
  • Neumorphism
  • Claymorphism
  • Neo-brutalism
  • Skeuomorphism
  • Flat design
  • Mesh gradient
  • Aurora background
  • Grain texture
  • Glow effect
  • Drop shadow
  • Border radius
  • Grid background
  • Typographic hierarchy
  • Accent color
  • Color contrast

Vibe coding & AI

  • Vibe coding
  • Prompt
  • Context window
  • Token
  • AI agent
  • Tool call
  • Hallucination
  • Diff
  • Live preview
  • Checkpoint
  • Git commit
  • Deploy
  • Frontend and backend
  • API
  • Database
  • Rules file
  • MCP
  • Plan mode
  • Visual edit

Summer in the Rockies