Dev Design Library

Stateful Button

Button that morphs through loading, success and error states while a Promise settles.

Stateful Button preview
Library
Velora UI
Framework
React
Type
ui
License
MIT
Install
npx shadcn@latest add https://velora.colorlib.com/r/stateful-button.json
Files
  • src/components/velora/stateful-button.tsx
  • src/lib/utils.ts
Source
https://github.com/ColorlibHQ/velora-ui

Categories

More from Velora UI