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.

SelectCheckboxMenu

SelectManyCheckbox is used to choose multiple items displayed in an overlay.

Basic
Multiple
Grouped

<div class="card">
    <h:form>
        <p:growl>
            <p:autoUpdate/>
        </p:growl>

        <h5 class="p-mt-0">Basic</h5>
        <p:selectCheckboxMenu id="menu" value="#{checkboxView.selectedCities}" label="Cities" style="width: 15rem"
                                filter="true" filterMatchMode="startsWith" panelStyle="width: 15rem" scrollHeight="250">
            <f:selectItems value="#{checkboxView.cities}"/>
        </p:selectCheckboxMenu>

        <h5>Multiple</h5>
        <p:selectCheckboxMenu id="multiple" value="#{checkboxView.selectedCities2}" label="Cities" style="min-width: 15rem"
                                  multiple="true" filter="true" filterMatchMode="startsWith" panelStyle="width: 30rem" scrollHeight="250">
                <p:ajax event="itemUnselect" listener="#{checkboxView.onItemUnselect}"/>
                <f:selectItems value="#{checkboxView.cities}"/>
            </p:selectCheckboxMenu>

        <h5>Grouped</h5>
        <p:selectCheckboxMenu id="grouped" value="#{checkboxView.selectedCountries}" label="Countries" style="width: 15rem"
                                multiple="true" filter="true" filterMatchMode="startsWith" panelStyle="width: 15rem" scrollHeight="250">
            <f:selectItems value="#{checkboxView.countries}"/>
        </p:selectCheckboxMenu>
    </h:form>
</div>