Vaadin 8 - Component for a cookies consent popup


since I cannot use the commercially available Cookies consent, I need to create my own.

I wanted to use a notification (com.vaadin.ui.Notification) but I cannot add components such as buttons with this. Also I cannot style it that it spans the whole screen on the bottom.

Does somebody knows a component that would be suitable?

Could someone please point me to an easy guide to create my own component?

As far as I understood I create a new Widget and then put the custom component in there: []

Thank you!

Maybe you could use a Window?


Thanks! That might work, I give it a try!

Thanks for pointing me in the right direction!

For anyone who has the same problem, please look at subwindow: