Presenting Sillybits Pro - Beautifully crafted templates to create stunning landing pages in no time.
Docs
Mirror Wave Text

Mirror Wave Text

PreviousNext

Animated wavy text with optional reflection for a dynamic loading effect.

LOADING...

Installation

Examples

Loading Text

LOADING...

Usage

import { MirrorWaveText } from "@/components/sillybitsui/mirror-wave-text";
<MirrorWaveText
  text="LOADING..."
  maxLength={12}
  color="#ffffff"
  fontSize="5vw"
  amplitude={15}
  duration={2}
  delayStep={0.1}
/>

Props

PropTypeDefaultDescription
textstring"LOADING..."Text to animate (max length enforced by maxLength)
maxLengthnumber12Maximum number of characters allowed
colorstring"#ffffff"Color of the text
fontSizestring"5vw"Font size of each character
amplitudenumber15Vertical wave height of each character
durationnumber2Total animation duration per cycle
delayStepnumber0.1Delay between each character’s animation start
classNamestring""Additional class names for customization
reflectbooleantrueWhether to show reflection below the text