1
<Alert
2
title={"This is an Alert"}
3
message={"This is an example of an alert component. You can use it to display important messages to the user."}
4
type={ALERT.Error}
5
icon="error">Warning: Please review the details</Alert>
6
<Alert
7
title={"This is an Alert"}
8
message={"This is an example of an alert component. You can use it to display important messages to the user."}
9
type={ALERT.Info}
10
icon="information">Warning: Please review the details</Alert>
11
<Alert
12
title={"This is an Alert"}
13
message={"This is an example of an alert component. You can use it to display important messages to the user."}
14
type={ALERT.Success}
15
icon="seal-check">Warning: Please review the details</Alert>
16
<Alert
17
title={"This is an Alert"}
18
message={"This is an example of an alert component. You can use it to display important messages to the user."}
19
type={ALERT.Warning}
20
icon="warning">Warning: Please review the details</Alert>
import { Alert, type ALERT } from "@zuzjs/ui"
<Alert
title={`This is an Error Alert`}
message={`This is an example of an alert component. You can use it to display important messages to the user.`}
type={ALERT.Error}
icon="error">Warning: Please review the details</Alert>