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.

Display

Efficiently configure the display of the component with PrimeFlex display utilities.

Inline
Block
Visible on a Small Screen

Resize to view.

Hidden on a Small Screen

Resize to hide.

Visible to Print, Invisible for Screen

Only visible when printed.

Visible to Screen, Invisible for Print

Not available for printing.

Getting Started

The display classes use the p-d-{value} format and p-d-{breakpoint}-{value} format for responsive design.

Values

Value field can be one of the following options.

  • none
  • inline
  • inline-block
  • block
  • flex
  • inline-flex
Breakpoint

Breakpoints define how the display property should be defined depending on the screen size. Design is mobile first so smaller values can also apply to larger values e.g. md also applies to lg or xl if they are not explicitly defined.

  • sm: small screens e.g. phones
  • md: medium screens e.g. tablets
  • lg: large screens e.g. notebooks
  • xl: larger screens .e.g monitors
Examples

<div class="p-d-inline">Displayed as inline.</div>
<div class="p-d-flex">Displayed as a flexbox container.</div>
<div class="p-d-block p-d-lg-inline">Inline for larger screens and block for others.</div>
<div class="p-d-md-none">Visible on a Small Screen</div>
<div class="p-d-none p-d-md-inline-flex">Hidden on a Small Screen</div>
<div class="p-d-none p-print-block">Only visible when printed.</div>
<div class="p-d-block p-print-none">Not available for printing.</div>

Customization

A custom build with different values can be obtained from PrimeFlex using the _variables.scss file.