Dock is a navigation component that mimics the dock of macOS. Its menuitems are displayed as icons that are zoomed in when the mouse is over them. The dock is located at the bottom (default) or the top with the position attribute. In this example a CSS rule keeps it fixed in the browser window while the page scrolls.
<h:form>
<style>
/* absolute by default (docks to its positioned parent): stick to the viewport while the page scrolls */
.p-dock {
position: fixed;
}
</style>
<p:dock position="bottom">
<p:menuitem value="Home" icon="/resources/demo/images/dock/home.png"/>
<p:menuitem value="Music" icon="/resources/demo/images/dock/music.png"/>
<p:menuitem value="Video" icon="/resources/demo/images/dock/video.png"/>
<p:menuitem value="Email" icon="/resources/demo/images/dock/email.png"/>
<p:menuitem value="Portfolio" icon="/resources/demo/images/dock/portfolio.png"/>
<p:menuitem value="Link" icon="/resources/demo/images/dock/link.png"/>
<p:menuitem value="RSS" icon="/resources/demo/images/dock/rss.png"/>
<p:menuitem value="History" icon="/resources/demo/images/dock/history.png"/>
</p:dock>
</h:form>