Back to Components
Components

Loading Dots

Bouncing dots loader with staggered animation for inline loading states.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/loading-dots.tsx

Installation

Using shadcn CLI

npx shadcn add loading-dots --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge