Link
A real document link with a useful destination.
Java composition
Link.create("/docs/tutorials/first-page.md", "Build your first page");Dropdown
Open the menu with mouse or keyboard.
Java composition
Dropdown.create("Learning resources").addLink("Tutorials", "/docs/tutorials/README.md").addLink("Reference", "/docs/reference/README.md").build();AccountWidget
A simulated display widget, not authentication. Its profile link explains the application boundary.
Java composition
AccountWidget.createAuthenticated("Simulated Ada").withProfileUrl("/docs/security/02-authwrapper-authorizationchecker-integration.md").withLogoutUrl("/demos/components/navigation?persona=guest#accountwidget");Icon
A local CSS icon needs no external font library.
Java composition
Icon.custom("sp-site-leaf").withAriaLabel("Leaf");