Dev Design Library

Button

Buttons in every variant and size, with a built-in loading, success and error flow that skips the spinner for fast requests.

Button preview
Library
HextaUI
Framework
React
Type
ui
License
MIT
Dependencies
@base-ui/react@^1.8.0, @tabler/icons-react, class-variance-authority, cn
Install
npx shadcn@latest add https://hextaui.com/r/button.json
Files
  • components/ui/button.tsx
  • components/ui/spinner.tsx
  • hooks/use-button-feedback.ts
  • hooks/use-delayed-loading.ts
Source
https://github.com/preetsuthar17/hextaui

Categories

More from HextaUI