Notiflix Notify
Notiflix Notify module includes 4 types of notifications: Success, Failure, Warning, and Info. Examples of use are as below. Notiflix Notify module is fully customizable. You may visit the Documentation page to learn how.
Notiflix Notify Success
Advanced Options
// You can type your text in String format.
Notiflix.Notify.Success('Sol lucet omnibus');
Live Demo
You can type your own text for the live demonstration.
Notiflix.Notify.Success('');
Click to try
Notiflix Notify Failure
Advanced Options
// You can type your text in String format.
Notiflix.Notify.Failure('Qui timide rogat docet negare');
Live Demo
You can type your own text for the live demonstration.
Notiflix.Notify.Failure('');
Click to try
Notiflix Notify Warning
Advanced Options
// You can type your text in String format.
Notiflix.Notify.Warning('Memento te hominem esse');
Live Demo
You can type your own text for the live demonstration.
Notiflix.Notify.Warning('');
Click to try
Notiflix Notify Info
Advanced Options
// You can type your text in String format.
Notiflix.Notify.Info('Cogito ergo sum');
Live Demo
You can type your own text for the live demonstration.
Notiflix.Notify.Info('');
Click to try
Notiflix Notify - Callback();
You can add a callback function after the "string text" is separated with a comma. The callback option can also be applied to 4 types of notifications.
Notifications with added callback function will not disappear until they were clicked.
// Sample Usage of Callback Function
Notiflix.Notify.Success(function(){
, alert('');
});
Click to try
Notiflix Report
Notiflix Report module includes 4 types of notifications: Success, Failure, Warning, and Info. Examples of use are as below. Notiflix Report module is fully customizable. You may visit the Documentation page to learn how.
Notiflix Report Success
Advanced OptionsUsage
You have to use 3 of the parameters in String format:
"Title", "Message" and "Button Text".
// You also can get your parameters as a Variable declared before. (The values have to be in String format)
Notiflix.Report.Success(
'Notiflix Success',
'"Do not try to become a person of success but try to become a person of value." <br><br>- Albert Einstein',
'Click'
);
Notiflix Success
ClickLive Demo
You can type your own parameters for the live demonstration.
Notiflix.Report.Success(
'',
'',
''
);
Click to try
Refresh
Notiflix Report Failure
Advanced OptionsUsage
You have to use 3 of the parameters in String format:
"Title", "Message" and "Button Text".
// You also can get your parameters as a Variable declared before. (The values have to be in String format)
Notiflix.Report.Failure(
'Notiflix Failure',
'"Failure is simply the opportunity to begin again, this time more intelligently." <br><br>- Henry Ford',
'Click'
);
Notiflix Failure
ClickLive Demo
You can type your own parameters for the live demonstration.
Notiflix.Report.Failure(
'',
'',
''
);
Click to try
Refresh
Notiflix Report Warning
Advanced OptionsUsage
You have to use 3 of the parameters in String format:
"Title", "Message" and "Button Text".
// You also can get your parameters as a Variable declared before. (The values have to be in String format)
Notiflix.Report.Warning(
'Notiflix Warning',
'"The peoples who want to live comfortably without producing and fatigue; they are doomed to lose their dignity, then liberty, and then independence and destiny." <br><br>- Mustafa Kemal Ataturk',
'Click'
);
Notiflix Warning
ClickLive Demo
You can type your own parameters for the live demonstration.
Notiflix.Report.Warning(
'',
'',
''
);
Click to try
Refresh
Notiflix Report Info
Advanced OptionsUsage
You have to use 3 of the parameters in String format:
"Title", "Message" and "Button Text".
// You also can get your parameters as a Variable declared before. (The values have to be in String format)
Notiflix.Report.Info(
'Notiflix Info',
'"Knowledge rests not upon truth alone, but upon error also." <br><br>- Carl Gustav Jung',
'Click'
);
Notiflix Info
ClickLive Demo
You can type your own parameters for the live demonstration.
Notiflix.Report.Info(
'',
'',
''
);
Click to try
Refresh
Notiflix Report - Callback();
You can add a callback function after the third parameter (button text) is separated with a comma. The callback option can also be applied to 4 types of notifications.
Notiflix.Report.Success(
'Title',
,
,function(){
alert('');
}
);
Click to try
Notiflix Confirm
Notiflix Confirm module is a confirm box for verifying or accepting something. Example of use is below. Notiflix Confirm module is fully customizable. You may visit the Documentation page to learn how.
Usage
You have to use 4 of the parameters in String format. 5th parameter is optional and it's a callback function for Confirm button. 6th parameter is also optional and it's a callback function for Deny button.
// For example: "Title", "Message", "Confirm Button Text", "Deny Button Text", and the CallBack functions.
Notiflix.Confirm.Show(
'Notiflix Confirm',
,
,
,function(){ // Yes button callback
alert('Thank you.');
},
function(){ // No button callback
alert('If you say so...');
}
);
Click to try
Notiflix Confirm
Do you agree with me?
Live Demo
You can type your own parameters for the live demonstration.
Notiflix.Confirm.Show(
'',
'',
'',
'',
function(){
alert('');
},
function(){
alert('');
}
);
Click to try
Refresh
Notiflix Loading
Notiflix Loading module includes 6 types of animated SVG icons: "Standard", "Hourglass", "Circle", "Arrows", "Dots", and "Pulse". An additional type is "Custom". You have to set the URL of your SVG icon to use the "Custom". Examples of use are as below. Notiflix Loading module is fully customizable. You may visit the Documentation page to learn how.
Notiflix Loading Standard
Advanced OptionsNotiflix Loading Hourglass
Advanced OptionsNotiflix Loading Circle
Advanced OptionsNotiflix Loading Arrows
Advanced OptionsNotiflix Loading Dots
Advanced OptionsNotiflix Loading Pulse
Advanced OptionsNotiflix Loading Custom
If you want to use your own SVG icon, you can define it and use it as follows. You may visit the Documentation page to learn much.
Notiflix Loading Common Features
The following functions are for all Loading types.
Change() and Remove()
// You can change the message as many times as you like. (For example: During an AJAX request or with WebSocket.)
Notiflix.Loading.Change('Loading... %20');
Loading... %20
Notiflix Block
Notiflix Block module can be used to block or unblock elements to prevents users actions during the process (AJAX etc.) without locking the browser or the other elements. Notiflix Block module includes 6 types of animated SVG icons: "Standard", "Hourglass", "Circle", "Arrows", "Dots", and "Pulse". Examples of use are as below. Notiflix Block module is fully customizable. You may visit the Documentation page to learn how.
Notiflix Block *
Advanced Options
/*
* @param1 {string}: Required, Select the element(s) to block. (ID or Class)
* @param2 {string}: Optional, Can also be added a message.
*/
// e.g. => With a message
Notiflix.Block.Standard(
, );Notiflix.Block.Hourglass(
, );Notiflix.Block.Circle(
, );// e.g. => Without message
Notiflix.Block.Arrows(
);Notiflix.Block.Dots(
);Notiflix.Block.Pulse(
);
Notiflix Block Remove
Advanced Options
/*
* @param1 {string}: Required, Select the element(s) to unblock. (ID or Class)
* @param2 {number}: Optional, Unblock after the delay.
*/
// e.g => Unblock selected element(s) immediately
Notiflix.Block.Remove('div#Modal');
// e.g => Unblock selected element(s) after the delay (e.g. 600 milliseconds)
Notiflix.Block.Remove('div#Modal', 600);
Live Demo
You can try each type of Notiflix Block module on the demo element below.

5 minutes for the next 50 years of your life
...
Prioritize who you are, who you want to be and don’t spend time with anything that antagonizes your character.
Be brave, take the hill, but first answer that question: What’s my hill?
So first we have to define success for ourselves. And then we have to put in the work to maintain it. Make that daily tally. Tend to our garden. Keep the things that are important to us in good shape.
...