Skip to content

Enhanced Button

Enhanced Button is a feature-rich button component extending shadcn/ui's Button with built-in loading states, success animations, error handling, and progress indicators for improved user feedback during async operations.

Enhanced Button — preview
Author
Jakobhoeg
Updated

Live preview

Live Preview

Interact with the actual deployed template — every section, every interaction, no mockups.

enhanced-button.vercel.app

Open in a new tab (opens in a new tab)

Loading preview…

About

About Enhanced Button

The MIT-licensed component provides automatic state management for promises, displaying loading spinners during execution, success checkmarks on completion, and error states with retry capabilities. Built with React, TypeScript, Framer Motion for smooth animations, and Tailwind CSS for styling, the enhanced button eliminates boilerplate code for common patterns like form submissions, API calls, and async workflows.

The component integrates seamlessly with shadcn/ui projects while adding sophisticated interaction patterns including disabled states during loading, customizable success/error messages, progress bars for long-running operations, and automatic state resets. Perfect for form submissions, data mutations, file uploads, or any user action requiring clear feedback about async operation status with professional loading indicators and success confirmations that enhance user experience.

Get started

Free, open source, and ready to ship.

Clone the repo, install dependencies, and start customising. Enhanced Button is free and open source: its license is in the repository.

  1. Clone the Enhanced Button repository from GitHub.
  2. Run npm install or pnpm install to install all required packages.
  3. Run npm run dev to start the development server and begin customizing.
  4. Check the repository’s README and license before you ship.

Terminal

$ git clone https://github.com/jakobhoeg/enhanced-button
$ cd enhanced-button
$ npm install
$ npm run dev

Included in Pro

More Templates

Hand-built premium templates from shadcn.io — production-ready and bundled in Pro.

Every template, every block. One Pro plan unlocks all 14, with 6,000+ blocks and MCP for your AI editor.

Get Pro

More like this

Open source UI Kits & Component Libraries templates like Enhanced Button, those with the most in common first.

Pricing

Every premium template, with Pro

All 14 premium templates come with every Pro plan, with 6,000+ blocks and the MCP server. Pick the seats you need.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

Everything you need to know before you ship with Enhanced Button.

4.9 out of 5 from 150+ developers

Ship your next site this weekend

14 premium templates, 6,000+ blocks and MCP in every Pro plan. Enhanced Button and the other 214 open source templates stay free.

Get Pro