PrimeReact
PrimeReact is a rich set of open source UI Components for React. See PrimeReact homepage for live showcase and documentation.
Download
PrimeReact is available at npm.
# Using npm
npm install primereact
# Using yarn
yarn add primereact
# Using pnpm
pnpm add primereact
Import
Each component can be imported individually so that you only bundle what you use. Import path is available in the documentation of the corresponding component.
) }">//import { ComponentName } from 'primereact/{componentname}';import { Button } from 'primereact/button';
export default function MyComponent() {
return (
<Button label="PrimeReact" />
)
}