utils.showNotification line break message

Hi, how to add line break on message when using utils.showNotification? Tried "\n" and adding empty line break on the string, but not work

Thanks

2 Likes

Hey @char!

The utils.showNotification method doesn’t support multi-line or HTML rendering, and is really ideal for showing short form notifications.

Another option for showing complex messages or custom UI to users could be to open a modal component using the modal.open() JS method- that could then contain full paragraphs, images, HTML, and any other components that you wanted to add.