ShellBuilder
Open a complete local document, isolated from this site's shell.
Java composition
Component content = new Div().withChild(Header.H1("Local shell preview"))
.withChild(new Paragraph("A complete document."))
.withChild(Link.create("/demos/builders/shell", "Back to the builder example"));
ShellBuilder shell = ShellBuilder.create().withPageTitle("Local shell preview")
.withSideNav(SideNavBuilder.create().addSection("Preview navigation")
.addLink("Chat", "/chat").addLink("Documentation", "/docs").build(), true);
shell.withContent(content).build();