Notify
Create toggleable notifications that fade out automatically.
The notification will not fade out but remain visible when you hover the message until you stop hovering. You can also close the notification by clicking it.
Create toggleable notifications that fade out automatically.
The notification will not fade out but remain visible when you hover the message until you stop hovering. You can also close the notification by clicking it.
Notify provides a simple API which you can reuse in your application code. The following JavaScript code snippet gets you started.
UIkit.notify({
message : 'Bazinga!',
status : 'info',
timeout : 5000,
pos : 'top-center'
});
// Shortcuts
UIkit.notify('My message');
UIkit.notify('My message', status);
UIkit.notify('My message', { /* options */ });
UIkit.notify("Message...");
You can use HTML inside your notification message, like an icon from the Icon component.
UIkit.notify("<i class='uk-icon-check'></i> Message with an icon...");
You can define via timeout for what amount of time in milliseconds a message is visible. You can also create a sticky message by setting the timeout to zero.
UIkit.notify("Message...", {timeout: 0});
Add one of the following parameters to adjust the notification's position to different corners.
| Parameter | Code | Example |
|---|---|---|
top-center |
|
|
top-left |
|
|
top-right |
|
|
bottom-center |
|
|
bottom-left |
|
|
bottom-right |
|
A notification can be styled by adding a status to the message to indicate an info, success, warning or a danger status.
| Status | Code | Example |
|---|---|---|
info |
|
|
success |
|
|
warning |
|
|
danger |
|
Curabitur sollicitudin neque ante, commodo efficitur libero semper et. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam at suscipit mi. Maecenas et elit sem. Suspendisse a laoreet sem. Integer facilisis, magna at volutpat volutpat
Our support Hotline is available 24 Hours a day: (+61) 023 456 7805
Monday-Friday: 9am to 5pm
Saturday: 10am to 2pm
Sunday: Closed from 10am
Public Holidays: Closed all day








