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.

Charts Export

Charts are canvas based and can be exported as static images with client side api.

Chart as an Image

<script type="text/javascript">
    function exportChart() {
        //export image

        //show the dialog

<div class="card">
    <p:barChart model="#{chartJsView.barModel}" style="width: 100%; height: 500px;" widgetVar="chart"/>

    <p:commandButton type="button" value="Export" icon="pi pi-home" onclick="exportChart()"/>

    <p:dialog widgetVar="dlg" showEffect="fade" modal="true" header="Chart as an Image" resizable="false">
        <p:outputPanel id="output" layout="block" style="width:500px;height:300px"/>