Julien Thibeaut

Loader

Text 158

About

A loading component with multiple variants to indicate processing states and provide visual feedback to users during wait times.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Loader to your project and fits it to your theme.

Code

How Loader is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"

import { Loader } from "@/components/ui/loader"

export function LoaderBasic() {
  const variants = [
    "terminal",
    "text-blink",
    "loading-dots",
  ] as const

  return (
    <div className="flex w-full flex-col space-y-8 p-4">
      <div className="grid grid-cols-2 gap-8 sm:grid-cols-3 md:grid-cols-4">
        {variants.map((variant) => (
          <div
            key={variant}
            className="flex flex-col items-center justify-center gap-2 p-4"
          >
            <Loader variant={variant} />
            <span className="text-muted-foreground text-sm">{variant}</span>
          </div>
        ))}
      </div>
    </div>
  )
}

More by Julien Thibeaut

View all
  • Dock

    Dock

    3.3K
  • Text Effect

    Text Effect

    1.7K
  • Infinite Slider

    Infinite Slider

    1.6K
  • Text Shimmer

    Text Shimmer

    1.3K
  • Text Scramble

    Text Scramble

    1.1K
  • Progressive blur

    Progressive blur

    714
  • Glow Effect

    Glow Effect

    646
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    641

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    11
  • Scroll Fill Headline

    Scroll Fill Headline

    62
  • Shimmering Text

    Shimmering Text

    6
  • Text Reveal

    Text Reveal

    41
  • Blur Reveal

    Blur Reveal

    395
  • Apple Hello Effect

    Apple Hello Effect

    689
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Liquid Text

    Liquid Text

    272