NPM Star
Collections
  1. Home
  2. Compare
  3. ant-design vs primereact
NPM Compare

Compare NPM packages statistics, trends, and features

CollectionsVS Code extensionChrome extensionTermsPrivacyLinkTreeIndiehackersBig Frontendqiuyumi

Unable to load comparison data. Please try again later.

ERROR: No README data found!

Cover

primereact

Unstyled, composable React primitives. Behavior, state, keyboard navigation and accessibility are handled; styling is left entirely open.

npm install primereact

Usage

Each component has its own subpath. Multi-element components are composed from named parts, so markup, nesting and class names stay under full control.

import { Select } from 'primereact/select'; import { ChevronDown } from '@primeicons/react/chevron-down'; <Select.Root options={languages} optionLabel="label" optionValue="value"> <Select.Trigger className="flex w-56 items-center justify-between rounded-md border px-3 py-2"> <Select.Value placeholder="Select a language" /> <Select.Indicator> <ChevronDown /> </Select.Indicator> </Select.Trigger> <Select.Portal> <Select.Positioner> <Select.Popup className="rounded-md border bg-white shadow-lg"> <Select.List /> </Select.Popup> </Select.Positioner> </Select.Portal> </Select.Root>;

The application is wrapped once with PrimeReactProvider from @primereact/core. No theme or preset is needed, since primitives ship no CSS.

Documentation

  • Installation
  • Components
  • MCP server

License

Licensed under the PrimeUI License - Copyright (c) PrimeTek Informatics

Dependencies Comparison

ant-design

Dependencies

Dev Dependencies

Peer Dependencies

primereact

Dependencies

@primereact/core11.2.0
@primereact/headless11.2.0

Dev Dependencies

Peer Dependencies

react>=19.0.0
react-dom>=19.0.0
StarsIssuesVersionUpdatedⓘLast publish dateCreatedⓘPackage creation dateSizeⓘMinified + Gzipped size
A
ant-design
00N/AN/AN/Ainstall size N/A
P
primereact
00N/AN/AN/Ainstall size N/A

Who's Using These Packages

ant-design

umi
umi

A framework in react community ✨

gossip
gossip

Give awesome and informative presentation efficiently.

antd-tools
antd-tools

🔧 Cli Tools for Ant Design React

personal-blog
personal-blog

✍️ 个人技术博客

muse-vue-ant-design-dashboard
muse-vue-ant-design-dashboard

Muse Vue Ant Design Dashboard - Free and OpenSource Ant Design Vue Dashboard

primereact

primereact
primereact

The Most Complete React UI Component Library

tic-tac-toe-game-using-bit
tic-tac-toe-game-using-bit

Simple Tic Tac Toe game built with react-typescript components

seattle-humane-app
seattle-humane-app