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.

Clock

Clock displays server or client datetime live. AutoSync feature in server mode can sync the clock with server periodically.

Client
Server
Custom
Analog

<style type="text/css">
    .ui-analog-clock {
        width: 200px;
    }
</style>

<div class="card">
    <h:form>
        <h5 class="p-mt-0">Client</h5>
        <p:clock />

        <h5>Server</h5>
        <p:clock pattern="HH:mm:ss dd.MM.yyyy" mode="server"/>

        <h5>Custom</h5>
        <p:clock mode="server" value="#{clockView.dateTime}"/>

        <h5>Analog</h5>
        <p:clock displayMode="analog"/>
    </h:form>
</div>