Dev Design Library

Alert

Inline messages for status and feedback, with a neutral surface, a colored icon and a dismiss that collapses smoothly.

Alert 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/alert.json
Files
  • components/ui/alert.tsx
  • components/ui/button.tsx
  • lib/motion.ts
  • components/ui/spinner.tsx
  • hooks/use-button-feedback.ts
  • hooks/use-delayed-loading.ts
Source
https://github.com/preetsuthar17/hextaui

Categories

More from HextaUI