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.

Horizontal Tree Basic

Horizontal tree has two modes, in client mode all nodes are available at client side whereas in ajax mode only expanded nodes are available.

Client
Files
Ajax
Files

<h:form>

    <div class="card">
        <h5 style="margin-top:0">Client</h5>
        <p:tree value="#{treeBasicView.root}" var="node" orientation="horizontal">
            <p:treeNode>
                <h:outputText value="#{node}"/>
            </p:treeNode>
        </p:tree>
    </div>

    <div class="card">
        <h5>Ajax</h5>
        <p:tree value="#{treeBasicView.root}" var="node" dynamic="true" orientation="horizontal">
            <p:treeNode>
                <h:outputText value="#{node}"/>
            </p:treeNode>
        </p:tree>
    </div>

</h:form>