> For the complete documentation index, see [llms.txt](https://zsx-development.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zsx-development.gitbook.io/docs/resources/user-interface-v2/snippets/esx/notification.md).

# Notification

es\_extended/client/functions.lua

```lua
function ESX.ShowNotification(message, notifyType, length)
    local NotifyTypes = {
        ['info'] = 'fas fa-info',
        ['success'] = 'fas fa-check',
        ['error'] = 'fas fa-times',
        ['warning'] = 'fas fa-exclamation-triangle'
    }
    exports['ZSX_UIV2']:Notification('Notification', message, NotifyTypes[notifyType] or 'fas fa-info', length)
end
```
