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.

Diagram Hierarchical

This example demonstrates an implementation of Hierarchical Diagram.

CEO
CFO
FIN
PUR
CTO
DEV
TST

<style type="text/css">
    .ui-diagram-element {
        width: 5em;
        height: 5em;
        line-height: 5em;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.8);
        border-radius: 5em;
        border: 1px solid #404a4e;
        background-color: #404a4e;
        color: #cccccc;
        user-select: none;
    }

    .ui-diagram-element:hover {
        background-color: #20282b;
    }
</style>

<div class="card">
    <p:diagram value="#{diagramHierarchicalView.model}" style="height:600px" styleClass="ui-widget-content"/>
</div>