Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

Saga Saga
Vela Vela
Arya Arya

Legacy Free Themes

Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink
Nova Nova
Nova Nova Alt
Nova Nova Accent

PREMIUM TEMPLATES

Create awesome applications in no time using the premium templates and impress your users.

SlideMenu

SlideMenu displays nested submenus with a slide animation.


<div class="card">
    <h:form>
        <p:growl id="messages" showDetail="true"/>

        <h5 class="p-mt-0">Inline</h5>
        <p:slideMenu style="width:200px">
            <p:submenu label="Ajax Menuitems" icon="pi pi-refresh">
                <p:menuitem value="Save" action="#{menuView.save}" update="messages" icon="pi pi-save"/>
                <p:menuitem value="Update" action="#{menuView.update}" update="messages" icon="pi pi-refresh"/>
            </p:submenu>
            <p:submenu label="Non-Ajax Menuitem" icon="pi pi-clone">
                <p:menuitem value="Delete" action="#{menuView.delete}" ajax="false" icon="pi pi-times"/>
            </p:submenu>
            <p:divider />
            <p:submenu label="Navigations" icon="pi pi-home">
                <p:submenu label="Prime Links">
                    <p:menuitem value="Prime" url="http://www.prime.com.tr"/>
                    <p:menuitem value="PrimeFaces" url="http://www.primefaces.org"/>
                </p:submenu>
                <p:menuitem value="Mobile"/>
            </p:submenu>
        </p:slideMenu>
        
        <h5>Overlay</h5>
        <p:commandButton id="dynaButton" value="Show" type="button" icon="pi pi-home"/>
        <p:slideMenu overlay="true" trigger="dynaButton" my="left top" at="left bottom" style="width:180px">
            <p:submenu label="Ajax Menuitems">
                <p:menuitem value="Save" action="#{menuView.save}" update="messages" icon="pi pi-save"/>
                <p:menuitem value="Update" action="#{menuView.update}" update="messages" icon="pi pi-refresh"/>
            </p:submenu>
            <p:submenu label="Non-Ajax Menuitem">
                <p:menuitem value="Delete" action="#{menuView.delete}" ajax="false" icon="pi pi-times"/>
            </p:submenu>
            <p:submenu label="Navigations" icon="pi pi-home">
                <p:submenu label="Prime Links">
                    <p:menuitem value="Prime" url="http://www.prime.com.tr"/>
                    <p:menuitem value="PrimeFaces" url="http://www.primefaces.org"/>
                </p:submenu>
                <p:menuitem value="Mobile"/>
            </p:submenu>
        </p:slideMenu>
    </h:form>
</div>