Demos /

Navigation

Working framework components, paired with the Java that composes them.

SideNav

Grouped side navigation.

Java composition
SideNav.create().addSection("Learn").addItem("Tutorials", "/docs/tutorials/README.md").addItem("Reference", "/docs/reference/README.md");

AccountWidget

Simulated guest display only. Login switches this request's display back to Simulated Ada; it does not authenticate.

Java composition
AccountWidget.createGuest().withLoginUrl("/demos/components/navigation?persona=ada#accountwidget").withSignupUrl(null);

Icon

A local CSS icon needs no external font library.

Java composition
Icon.custom("sp-site-leaf").withAriaLabel("Leaf");