Home Alert

The Alert component allows you to display important messages to the user. It can be used to show success messages, error messages, or any other type of feedback that requires the user's attention.

Installation

npm
npx phpxui add Alert

Usage

use Lib\PHPXUI\{
    Alert,
    AlertTitle,
    AlertDescription,
}
<Alert variant="default | destructive | success | warning | info">
  <AlertTitle>Heads up!</AlertTitle>
  <AlertDescription>
    You can add components and dependencies to your app using the cli.
  </AlertDescription>
</Alert>