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


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

Diagram Basic

Diagram is generic component to create visual elements and connect them on a web page. SVG is used on modern browsers and VML on IE 8 and below. Component is highly flexible in terms of api, events and theming.


<style type="text/css">
    .ui-diagram-element {
        border: 0.1em dotted #d4e06b;
        width: 14em;
        height: 4em;
        line-height: 4em;
        text-align: center;

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