Skip to main content
The Line Wobble Loader displays a horizontal bar that smoothly wobbles back and forth along a track, creating a dynamic loading indicator. This loader is perfect for progress-like loading states and horizontal layouts.

Installation

Usage

Props

The Line Wobble component does not accept any props. It displays a fixed-width horizontal wobble animation.

Animation Details

  • Width: 80px (20 in Tailwind)
  • Height: 4px (1 in Tailwind)
  • Animation: Horizontal translation from -95% to +95%
  • Duration: 1.75 seconds per cycle
  • Easing: Ease-in-out
  • Track Color: 10% opacity of text color
  • Bar Color: Black in light mode, white in dark mode

Examples

Loading Section

Top of Page Loader

Form Submission

Content Placeholder