Dev Design Library

Toast

Brief messages that stack neatly, expand on hover, swipe away, and turn a loading state into success or error in place.

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

Categories

More from HextaUI