Change the locale of the datepicker, schedule and client side validation messages.

Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

PrimeOne Design

Saga Saga
Vela Vela
Arya Arya

Premium Themes

Premium themes are only available exclusively for PrimeFaces Theme Designer subscribers and therefore not included in PrimeFaces core.

Bootstrap light blue and dark blue themes are also included in PrimeFaces 10.x builds for Elite subscribers.

bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple

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.

Timeline Custom

This example demonstrates timeline's customization (custom styles) along with i18n text.

<style type="text/css">
    /* Custom styles for the Timeline */
    div.timeline-frame {
        border-color: #5D99C3;
        border-radius: 5px;

    div.timeline-axis {
        border-color: #5D99C3;
        background-color: #5D99C3;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5D99C3', endColorstr='#3A6DA0') alpha(opacity=100);
        background: -webkit-gradient(linear, left top, left bottom, from(#5D99C3), to(#3A6DA0));
        background: -moz-linear-gradient(top, #5D99C3, #3A6DA0);
        -khtml-opacity: 1;
        -moz-opacity: 1;
        opacity: 1;

    div.timeline-groups-axis {
        border-color: #5D99C3;

    div.timeline-groups-axis-onleft {
        border-style: none solid none none;

    div.timeline-axis-text {
        color: white;

    div.timeline-event {
        color: white !important;
        border-radius: 5px !important;

    div.timeline-event-content {
        padding: 5px;
        text-shadow: none;

    div.unavailable {
        background: #F03030 none !important; /* red */
        border-color: #bd2828 !important; /* red */

    div.available {
        background: #1AA11A none !important; /* green */
        border-color: #136e13 !important; /* green */

    div.maybe {
        background: #FFA500 none !important; /* orange */
        border-color: #cc8100 !important; /* orange */

    div.timeline-event-selected {
        background: #BECEFE none !important;
        border-color: #97B0F8 !important;

<h:form id="form">
    <div class="card">
        <p:timeline id="timeline" value="#{customTimelineView.model}"
            editable="true" eventMargin="10" eventMarginAxis="0"
            start="#{customTimelineView.start}" end="#{customTimelineView.end}"
            stackEvents="false" widgetVar="timelineWdgt">
            <f:facet name="menu">
                <p:commandButton type="button" icon="pi pi-chevron-left" styleClass="p-ml-2" onclick="PF('timelineWdgt').move(-0.3);" />
                <p:commandButton type="button" icon="pi pi-chevron-right" styleClass="p-ml-2" onclick="PF('timelineWdgt').move(0.3);" />
                <p:commandButton type="button" icon="pi pi-search-minus" styleClass="p-ml-2" onclick="PF('timelineWdgt').zoom(-0.5);" />
                <p:commandButton type="button" icon="pi pi-search-plus" styleClass="p-ml-2" onclick="PF('timelineWdgt').zoom(0.5);" />

            <f:facet name="loading">
                <h1>Loading please wait...</h1>

Session expired

Reloading page