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.

SpeedDial

When pressed, a floating action button can display multiple primary actions that can be performed on a page.

Linear
Circle, Semi-Circle and Quarter-Circle
Tooltip
Transition Duration, Icon and No Rotate Animation
Mask
Dynamic Items

<style type="text/css">
    .speeddial-linear-demo .ui-speeddial-direction-up {
        left: calc(50% - 2rem);
        bottom: 0;
    }

    .speeddial-linear-demo .ui-speeddial-direction-down {
        left: calc(50% - 2rem);
        top: 0;
    }

    .speeddial-linear-demo .ui-speeddial-direction-left {
        right: 0;
        top: calc(50% - 2rem);
    }

    .speeddial-linear-demo .ui-speeddial-direction-right {
        left: 0;
        top: calc(50% - 2rem);
    }

    .speeddial-circle-demo .ui-speeddial-circle {
        top: calc(50% - 2rem);
        left: calc(50% - 2rem);
    }

    .speeddial-circle-demo .ui-speeddial-semi-circle.ui-speeddial-direction-up {
         left: calc(50% - 2rem);
         bottom: 0;
    }

    .speeddial-circle-demo .ui-speeddial-semi-circle.ui-speeddial-direction-down {
         left: calc(50% - 2rem);
         top: 0;
    }

    .speeddial-circle-demo .ui-speeddial-semi-circle.ui-speeddial-direction-left {
         right: 0;
         top: calc(50% - 2rem);
    }

    .speeddial-circle-demo .ui-speeddial-semi-circle.ui-speeddial-direction-right {
         left: 0;
         top: calc(50% - 2rem);
    }

    .speeddial-circle-demo .ui-speeddial-quarter-circle.ui-speeddial-direction-up-left {
         right: 0;
         bottom: 0;
    }

    .speeddial-circle-demo .ui-speeddial-quarter-circle.ui-speeddial-direction-up-right {
         left: 0;
         bottom: 0;
    }

    .speeddial-circle-demo .ui-speeddial-quarter-circle.ui-speeddial-direction-down-left {
         right: 0;
         top: 0;
    }

    .speeddial-circle-demo .ui-speeddial-quarter-circle.ui-speeddial-direction-down-right {
         left: 0;
         top: 0;
    }

    .speeddial-tooltip-demo .ui-speeddial-direction-up.speeddial-left {
         left: 0;
         bottom: 0;
    }

    .speeddial-tooltip-demo .ui-speeddial-direction-up.speeddial-right {
         right: 0;
         bottom: 0;
    }

    .speeddial-delay-demo .ui-speeddial-direction-up {
        left: calc(50% - 2rem);
        bottom: 0;
    }

    .speeddial-mask-demo .ui-speeddial-direction-up {
        right: 0;
        bottom: 0;
    }

    .speeddial-dynamicitem-demo .ui-speeddial-direction-down {
        left: calc(50% - 2rem);
        top: 0;
    }
</style>


<h:form id="speedDialForm">
    <p:tooltip />
    <p:growl id="messages" showDetail="true"/>

    <div class="card">
        <h5>Linear</h5>
        <div class="speeddial-linear-demo" style="position: relative; height: 500px">
            <p:speedDial direction="up">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>

            <p:speedDial direction="down">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>

            <p:speedDial direction="left">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>

            <p:speedDial direction="right">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>
        </div>
    </div>

    <div class="card">
        <h5>Circle, Semi-Circle and Quarter-Circle</h5>
        <div class="speeddial-circle-demo" style="position: relative; height: 500px">
            <p:speedDial radius="80" type="circle" buttonStyleClass="ui-button-warning">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>

            <p:speedDial radius="80" direction="up" type="semi-circle">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>

            <p:speedDial radius="80" direction="down" type="semi-circle">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>

            <p:speedDial radius="80" direction="left" type="semi-circle">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>

            <p:speedDial radius="80" direction="right" type="semi-circle">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>

            <p:speedDial radius="120" direction="up-left" type="quarter-circle" buttonStyleClass="ui-button-success">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>

            <p:speedDial radius="120" direction="up-right" type="quarter-circle" buttonStyleClass="ui-button-success">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>

            <p:speedDial radius="120" direction="down-left" type="quarter-circle" buttonStyleClass="ui-button-success">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>

            <p:speedDial radius="120" direction="down-right" type="quarter-circle" buttonStyleClass="ui-button-success">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>
        </div>
    </div>

    <div class="card">
        <h5>Tooltip</h5>
        <div class="speeddial-tooltip-demo" style="position: relative; height: 350px">
            <p:speedDial direction="up" styleClass="speeddial-right" buttonStyleClass="ui-button-danger">
                <p:menuitem title="Add" icon="pi pi-pencil" action="#{speedDialView.add}" update="messages" />
                <p:menuitem title="Update" icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem title="Delete" icon="pi pi-trash" action="#{speedDialView.delete}" update="messages" />
                <p:menuitem title="Upload" icon="pi pi-upload" outcome="/ui/file/upload/basic" />
                <p:menuitem title="PrimeFaces" icon="pi pi-external-link"  url="https://www.primefaces.org"/>
            </p:speedDial>

            <p:speedDial direction="up" styleClass="speeddial-left" buttonStyleClass="ui-button-help">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages" title="Add"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages" title="Update"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages" title="Delete"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic" title="Upload"/>
                <p:menuitem icon="pi pi-external-link" title="PrimeFaces" url="https://www.primefaces.org"/>
            </p:speedDial>
        </div>
    </div>

    <div class="card">
        <h5>Transition Duration, Icon and No Rotate Animation</h5>
        <div class="speeddial-delay-demo" style="position: relative; height: 350px">
            <p:speedDial direction="up" transitionDelay="80" showIcon="pi pi-bars" hideIcon="pi pi-times"
                         buttonStyleClass="ui-button-outlined">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>
        </div>
    </div>

    <div class="card">
        <h5>Mask</h5>
        <div class="speeddial-mask-demo" style="position: relative; height: 350px">
            <p:speedDial direction="up" mask="true">
                <p:menuitem icon="pi pi-pencil" action="#{speedDialView.add}" update="messages"/>
                <p:menuitem icon="pi pi-refresh" action="#{speedDialView.update}" update="messages"/>
                <p:menuitem icon="pi pi-trash" action="#{speedDialView.delete}" update="messages"/>
                <p:menuitem icon="pi pi-upload" outcome="/ui/file/upload/basic"/>
                <p:menuitem icon="pi pi-external-link" url="https://www.primefaces.org"/>
            </p:speedDial>
        </div>
    </div>

    <div class="card">
        <h5>Dynamic Items</h5>
        <div class="speeddial-dynamicitem-demo" style="position: relative; height: 350px">
            <p:speedDial direction="down" model="#{speedDialView.model}" />
        </div>
    </div>
</h:form>

Session expired

Reloading page

Message:
StackTrace: