Introducing PrimeReact v11-alpha 🎉Discover Now
primereact@11.0.0-alpha.10

UI .p-titleSuite for React

Enhance your web applications with PrimeReact's comprehensive suite of customizable, feature-rich UI components.
Support us on GitHub
fox
airbus
mercedes
ebay
ford
vw
intel
unicredit
lufthansa
nvidia
verizon
amex
Ivory
Ivory
Soft Landing
1:243:45
Storage usage breakdown
Show my disk usage as a meter

Here's a MeterGroup breakdown:

  • Color-coded segments
  • Labeled categories
disk usage
  1. Apps 25%
  2. Media 15%
  3. System 20%
1 File
SuMoTuWeThFrSa
1
2345678
9101112131415
16171819202122
23242526272829
3031
SuMoTuWeThFrSa
12345
6789101112
13141516171819
20212223242526
2728
San Francisco, CA
3 nights · 2 guests
San FranciscoSan Francisco
Check-in
Apr 23
Check-out
Apr 26
$429total
Flat
Rock
Pop
Bass
Jazz
64
125
250
500
1k
2k
4k
8k
Share project
Manage who has access to this project.
Direct link
Anyone with the link can access
Invite to collaborate
Brook Simmons
Dianne Russell
Jacob Jones
Check your email for OTP
Please enter the 6-digit code sent to your email address to reset your password.
Didn't receive code?
Deployment
Choose a region for your deployment.

SSL and DDoS protection enabled.

Pending
4
Floor Price
to
Brook Simmons
Important Account UpdateWe've made updates to enhance your account security. Please log in to review.
Security3:24 PM
Dianne Russell
Weekly Project UpdateAttached is the weekly project update. Kindly review the progress.
Update11:24 AM
Amy Elsner
Urgent: Security AlertWe detected unauthorized access to your account. Take immediate action.
Security9:24 AM
Jacob Jones
Exclusive Offer InsideCheck out our exclusive offer! Don't miss this limited-time deal.
MarketingJan 21
CW
Cameron Watson
Employee Appreciation EventMark your calendars for our upcoming Employee Appreciation Event.
HRJan 15
WW
Wade Warren
Your Recent PurchaseSecure your spot at the XYZ Conference 2024 with early bird registration.
InvoiceJan 12
Guy Hawkins
Early Bird Registration OpenWe have scheduled system maintenance. Expect minimal service disruption.
EventsJan 11
Quick Start

So simple to use

Import a component, pass your data, and you have a production-ready UI. No boilerplate, no setup ceremony.

$npm install primereact
import { Slider } from 'primereact'

export function VolumeControl() {
  return (
    <Slider.Root defaultValue={50}>
      <Slider.Track>
        <Slider.Range />
      </Slider.Track>
      <Slider.Thumb />
    </Slider.Root>
  )
}
Architecture

Built in Layers

Same Dialog, four levels of abstraction. Pick the layer that fits.

// Headless — logic only, you control the markup
import { useDialog } from '@primereact/headless/dialog'

const { popupProps, overlayProps, closeProps } = useDialog({
  open: isOpen,
  onOpenChange: setIsOpen,
})

<div {...overlayProps} className="fixed inset-0 bg-black/50" />
<div {...popupProps} className="fixed inset-0 flex items-center">
  <div className="bg-white rounded-xl p-6">
    {children}
    <button {...closeProps}>Close</button>
  </div>
</div>
Theming

Your Design System

Every visual property is a design token. Colors, spacing, radius, typography — customize with a single preset or override per component.

radius: 0.5rem
primary: #6366f1
padding: 1.25rem
Edit Profile
Update your account details.
John Doe
Save Changes
Cancel
fontSize: 14px
import { definePreset } from '@primeuix/themes'
import Aura from '@primeuix/themes/aura'

const MyPreset = definePreset(Aura, {
  semantic: {
    primary: { 500: '#6366f1' },
    surface: { 0: '#ffffff', 950: '#09090b' },
    colorScheme: {
      dark: {
        surface: { 0: '#09090b', 950: '#fafafa' },
      }
    },
    formField: {
      borderRadius: '0.5rem',
      paddingX: '0.75rem',
      fontSize: '14px',
      shadow: '0 1px 2px rgba(0,0,0,0.05)',
    },
  }
})
Accessibility

Accessible by Default

WCAG 2.0 compliant. Every component handles keyboard, screen readers, and focus out of the box.

React
React
Angular
Vue
Svelte
Solid
Tab
Q
W
E
R
T
Y
U
I
O
P
Caps
A
S
D
F
G
H
J
K
L
Enter
Shift
Z
X
C
V
B
N
M
Shift
Ctrl
Opt
Cmd
Space
Cmd
Opt
Developer Experience

Built for Developers

Modern tooling, great defaults, and no surprises.

import { DataTable, Column, Dialog, Button, ... } from 'primereact'

80+ Components

From data tables to charts, dialogs to menus. Everything you need.

// severity: "success" | "info" | "warn" | "danger"

TypeScript

Full type safety with auto-complete. Every prop, event, and ref is typed.

bundle.js12kbgzipped

Tree Shakeable

Import only what you use. Dead code elimination keeps your bundle lean.

Next.jsRemixAstroViteTanstack

SSR Ready

Works with any SSR framework. Server components, streaming, the whole deal.