Back to Components
Components

Wave Loader

Animated bars that mimic a sound wave while loading.

Dependencies

  • clsx
  • tailwind-merge
  • framer-motion

Files

  • components/ui/wave-loader.tsx

Installation

Using shadcn CLI

npx shadcn add wave-loader --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge framer-motion