lucasbassetti

Progress Fold Button

Buttons 1

About

A button whose front face tilts back like a hinged flap on hover, focus, or loading, revealing a progress bar underneath that fills to a given percentage or sweeps indeterminately.

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

Code

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

Usage.tsx

import { ProgressFoldButton } from "@/components/ui/progress-fold-button";

export default function ProgressFoldButtonLoadingDemo() {
  return (
    <div className="flex w-full h-full items-center justify-center bg-background">
      <div className="flex flex-wrap items-center justify-center gap-6">
        <ProgressFoldButton status="loading">Uploading…</ProgressFoldButton>
        <ProgressFoldButton status="loading" progress={60}>
          Exporting…
        </ProgressFoldButton>
      </div>
    </div>
  );
}

More by lucasbassetti

View all
  • Multi Button

    Multi Button

    37
  • Magic Button

    Magic Button

    21
  • Mask Button

    Mask Button

    14
  • Animated Tooltip

    Animated Tooltip

    10
  • Bento Grid

    Bento Grid

More in Buttons

View all
  • Button

    Button

    37
  • Button

    Button

    20
  • Texture Button

    Texture Button

    113
  • Icon Label Subtext Button

    Icon Label Subtext Button

    68
  • Astryx Chat Send Button

    Astryx Chat Send Button

    5
  • Button

    Button

    16
  • Minimal Button

    Minimal Button

    15
  • Button

    Button

    146