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.

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.

Text

Manage the alignment and the styling of a text with PrimeFlex text utilities.

Alignment
Left
Center
Right
Wrap
Long text wraps and does not overlow.
Long text does not wrap and overflows the parent.
Long text does not wrap and overflows the parent.
Transform
LOWERCASE
uppercase
capitalize
Style
Bold
Normal
Light
Italic
Getting Started

The text classes use the p-text-{value} syntax.

Alignment

Four options are available for alignment.

  • left
  • center
  • right
  • justify

<div class="p-text-left">Left</div>
<div class="p-text-center">Center</div>
<div class="p-text-right">Right</div>
<div class="p-text-justify">Justify</div>

Wrap

Text wrapping defines how the text would be displayed when it exceeds the size of its container.

  • nowrap
  • wrap
  • truncate

<div style="width: 10rem">Long text wraps and does not overlow.</div>
<div class="p-text-nowrap" style="width: 10rem">Long text does not wrap and overflows the parent.</div>
<div class="p-text-nowrap p-text-truncate" style="width: 10rem">Long text does not wrap and overflows the parent.</div>

Transform

Transform property changes the case of the text.

  • lowercase
  • uppercase
  • capitalize

<div class="p-text-lowercase">LOWERCASE</div>
<div class="p-text-uppercase">uppercase</div>
<div class="p-text-capitalize">capitalize</div>

Style

Text styling applies to font weight and style.

  • bold
  • normal
  • light
  • italic

<div class="p-text-bold">Bold</div>
<div class="p-text-normal">Normal</div>
<div class="p-text-light">Light</div>
<div class="p-text-italic">Italic</div>