SymmetricWave keeps the source page's mirrored opacity timeline while exposing
the visible block and background track glyphs as props.
Loading
Credits to shaah1d for creating the initial animation.
Installation
Usage
import { SymmetricWave } from "@/components/loading-ui/symmetric-wave";<SymmetricWave />Customization
Use block and track for the glyphs. The component inherits text color and
accepts --duration for the opacity wave timing.
Size
Scale the wave with text-size utilities.
LoadingLoadingLoading
Color
Color comes from currentColor, so text utilities are the main control.
LoadingLoadingLoading
Duration
Set --duration to change how quickly the mirrored wave collapses and expands.
LoadingLoadingLoading
Glyphs
Replace the leading block and static track independently.
LoadingLoadingLoading
