how to organize "card layout"?

I found this approach: http://vaadin.com/book/-/page/layout.components.tabsheet.html
using TabSheet with “hideTabs()” and making only 1 tab visible at any given time. this works a LOT faster than replaceComponent().

I might also try setCompositionRoot() as suggested.