Locale

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

PREMIUM TEMPLATES

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

Audio

The HTML Audio element is used to play an audio file on a web page. There are three supported audio formats: MP3, WAV, and OGG. All of the attributes and events for HTML5 Audio are available to use.

MP3
OGG

<div class="card">
    <h5>MP3</h5>
    <p:audio value="http://download.lisztonian.com/music/download/Larghetto+in+F-62.mp3"
             player="mp3"
             controls="true"
             onplay="console.log('MP3 Started Playing')"
             onpause="console.log('MP3 Stopped Playing')">
        Your browser does not support the audio element.
        See: <h:outputLink value="https://www.w3schools.com/html/html5_audio.asp">HTML5 Audio</h:outputLink>
    </p:audio>
</div>
<div class="card">
    <h5>OGG</h5>
    <p:audio value="/resources/demo/media/sample-ogg.ogg"
             controls="true"
             onplay="console.log('OGG Started Playing')"
             onpause="console.log('OGG Stopped Playing')">
        Your browser does not support the audio element.
        See: <h:outputLink value="https://www.w3schools.com/html/html5_audio.asp">HTML5 Audio</h:outputLink>
    </p:audio>
</div>