Custom toolbar with close icon

Hello, is there an option in Kirby to create custom toolbar with close function in kirby like in the attached link, thnx

https://gloriousmonday.com/test/kirbytoolbar.png