ThatDesignUIOriginalInteractive preview
Download progress button
A download button that becomes its own progress bar, counts up the percentage, then turns green with Downloaded and a check.
- Category
- Buttons
- Platform
- Responsive
Interactive componentClick through it, resize it, or switch states. It’s real UI, not a screenshot.Default state
Use this component
Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.
FreeReact 18+Tailwind v3.4 or v4No extra packages
1. Add it with the shadcn CLI
npx shadcn@latest add https://www.thatdesignui.com/r/download-progress-button.json2. Use it
Every prop is optionalapp/page.tsx
import DownloadProgressButton from "@/components/download-progress-button";
export default function Page() {
return <DownloadProgressButton />;
}Prefer to paste it yourself? Open the .
Under the hood
How it’s built
What’s inside
- A 17rem by 56px blue (#0369a1) button with a download icon, the label and the file size.
- Clicking lightens the button and sweeps the original blue across it as a fill, easing out over 2.4 seconds, while the label counts Downloading 0% to 100%.
- At 100% it turns green with a check and Downloaded, then resets after two seconds.
How it behaves
- Progress is exposed as a progressbar with aria-valuenow while downloading.
- The label is announced at the start and when finished.
- Clicks are ignored while downloading.
- aria-busy is true while downloading.



