Dev Design Library

Action Button

An async-aware button with an idle → pending → success/error state machine, promise tracking, abort support, and live screen-reader announcements.

Action Button preview
Library
Nexvyn UI
Framework
React
Type
ui
License
CC-BY-NC-4.0+Commons-Clause+MIT
Dependencies
@radix-ui/react-slot, class-variance-authority, motion
Install
npx shadcn@latest add @nexvyn/action-button
Files
  • components/ui/action-button.tsx
  • components/ui/button.tsx
  • lib/motion-tokens.ts
  • lib/sound.ts
  • lib/utils.ts
Source
https://github.com/Nexvyn/Nexvyn-ui

Categories

More from Nexvyn UI