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.

DataList Basic

DataList displays data in a list layout.

Basic
  1. Bamboo Watch
    Product Description
    Accessories
    $65.00 In Stock
  2. Black Watch
    Product Description
    Accessories
    $72.00 In Stock
  3. Blue Band
    Product Description
    Fitness
    $79.00 Low Stock
  4. Blue T-Shirt
    Product Description
    Clothing
    $29.00 In Stock
  5. Bracelet
    Product Description
    Accessories
    $15.00 In Stock
  6. Brown Purse
    Product Description
    Accessories
    $120.00 Out of Stock
  7. Chakra Bracelet
    Product Description
    Accessories
    $32.00 Low Stock
  8. Galaxy Earrings
    Product Description
    Accessories
    $34.00 In Stock
  9. Game Controller
    Product Description
    Electronics
    $99.00 Low Stock
  10. Gaming Set
    Product Description
    Electronics
    $299.00 In Stock
Definition
Product Code: f230fh0g3
Bamboo Watch
Product Description
Accessories
$65.00 In Stock
Product Code: nvklal433
Black Watch
Product Description
Accessories
$72.00 In Stock
Product Code: zz21cz3c1
Blue Band
Product Description
Fitness
$79.00 Low Stock
Product Code: 244wgerg2
Blue T-Shirt
Product Description
Clothing
$29.00 In Stock
Product Code: h456wer53
Bracelet
Product Description
Accessories
$15.00 In Stock
Product Info

<h:form id="form">

    <div class="product card">
        <h5>Basic</h5>
        <p:dataList value="#{dataListView.products1}" var="product" type="ordered">
            <div class="product-list-item">
                <p:graphicImage name="demo/images/product/#{product.image}"/>
                <div class="product-list-detail">
                    <div class="product-name">#{product.name}</div>
                    <div class="product-description">#{product.description}</div>
                    <p:rating readonly="true" value="#{product.rating}"/>
                    <i class="pi pi-tag product-category-icon"/><span
                        class="product-category">#{product.category}</span>
                </div>
                <div class="product-list-action">
                    <h:outputText value="#{product.price}" styleClass="product-price">
                        <f:convertNumber currencySymbol="$" type="currency"/>
                    </h:outputText>
                    <p:commandButton update=":form:productDetail" oncomplete="PF('productDialog').show()"
                                     value="Add To Cart"
                                     icon="pi pi-shopping-cart"
                                     disabled="#{product.inventoryStatus == 'OUTOFSTOCK'}">
                        <f:setPropertyActionListener value="#{product}"
                                                     target="#{dataListView.selectedProduct}"/>
                    </p:commandButton>
                    <span class="product-badge status-#{product.inventoryStatus.name().toLowerCase()}">#{product.inventoryStatus.text}</span>
                </div>
            </div>
        </p:dataList>
    </div>

    <div class="product card">
        <h5>Definition</h5>
        <p:dataList value="#{dataListView.products2}" var="product" type="definition">
            Product Code: #{product.code}
            <f:facet name="description">
                <div class="product-list-item">
                    <p:graphicImage name="demo/images/product/#{product.image}"/>
                    <div class="product-list-detail">
                        <div class="product-name">#{product.name}</div>
                        <div class="product-description">#{product.description}</div>
                        <p:rating readonly="true" value="#{product.rating}"/>
                        <i class="pi pi-tag product-category-icon"/><span
                            class="product-category">#{product.category}</span>
                    </div>
                    <div class="product-list-action">
                        <h:outputText value="#{product.price}" styleClass="product-price">
                            <f:convertNumber currencySymbol="$" type="currency"/>
                        </h:outputText>
                        <p:commandButton update=":form:productDetail" oncomplete="PF('productDialog').show()"
                                         value="Add To Cart"
                                         icon="pi pi-shopping-cart"
                                         disabled="#{product.inventoryStatus == 'OUTOFSTOCK'}">
                            <f:setPropertyActionListener value="#{product}"
                                                         target="#{dataListView.selectedProduct}"/>
                        </p:commandButton>
                        <span class="product-badge status-#{product.inventoryStatus.name().toLowerCase()}">#{product.inventoryStatus.text}</span>
                    </div>
                </div>
            </f:facet>
        </p:dataList>
    </div>

    <p:dialog header="Product Info" widgetVar="productDialog" modal="true" showEffect="blind"
              hideEffect="explode" resizable="false">
        <p:outputPanel id="productDetail" style="text-align:center;">
            <p:column rendered="#{not empty dataListView.selectedProduct}">
                <div class="product">
                    <div class="product-grid-item card" style="margin-bottom: 0">
                        <div class="product-grid-item-top">
                            <div>
                                <i class="pi pi-tag product-category-icon"/>
                                <span class="product-category">#{dataListView.selectedProduct.category}</span>
                            </div>
                            <span class="product-badge status-#{dataListView.selectedProduct.inventoryStatus.name().toLowerCase()}">#{dataListView.selectedProduct.inventoryStatus.text}</span>
                        </div>
                        <div class="product-grid-item-content">
                            <p:graphicImage name="demo/images/product/#{dataListView.selectedProduct.image}"/>
                            <div class="product-name">#{dataListView.selectedProduct.name}</div>
                            <div class="product-description">#{dataListView.selectedProduct.description}</div>
                            <p:rating readonly="true" value="#{dataListView.selectedProduct.rating}"/>
                        </div>
                        <div class="product-grid-item-bottom">
                            <h:outputText value="#{dataListView.selectedProduct.price}"
                                          styleClass="product-price">
                                <f:convertNumber currencySymbol="$" type="currency"/>
                            </h:outputText>
                            <p:commandButton value="Add To Cart" icon="pi pi-shopping-cart"
                                             disabled="#{dataListView.selectedProduct.inventoryStatus == 'OUTOFSTOCK'}">
                            </p:commandButton>
                        </div>
                    </div>
                </div>
            </p:column>
        </p:outputPanel>
    </p:dialog>

</h:form>