Introduction
ABP React is a collection of React packages that provide UI components and services for building applications with the ABP Framework. It offers a modern, TypeScript-first approach with pre-built modules for authentication, identity management, permissions, multi-tenancy, and more.
Quick Start
Get started with ABP React in seconds using our project generator:
npx create-abp-react my-app
cd my-app
pnpm dev
That's it! You now have a fully configured ABP React project with all dependencies installed.
Why ABP React?
- Instant Setup - Create a new project with a single command using
create-abp-react - Ready-to-use Components - Pre-built login forms, user management tables, permission modals, and more
- ABP Integration - Seamlessly connects to ABP backend APIs with built-in services
- TypeScript First - Full type safety across all packages
- Modern Stack - Built with React 19, Redux Toolkit, and Chakra UI v3
- Modular Design - Install only what you need
Packages
ABP React consists of 7 packages:
| Package | Description |
|---|---|
| @abpjs/core | Core infrastructure: authentication, configuration, localization, permissions, REST services |
| @abpjs/account | Login, registration, and tenant switching components |
| @abpjs/identity | User and role management components |
| @abpjs/permission-management | Permission management modal and services |
| @abpjs/tenant-management | Multi-tenant management components |
| @abpjs/theme-basic | Layout components (Application, Account, Empty layouts) |
| @abpjs/theme-shared | Shared UI: toasts, confirmations, theming |
Quick Example
import { useAuth, useLocalization } from '@abpjs/core';
import { LoginForm } from '@abpjs/account';
function App() {
const { isAuthenticated, logout } = useAuth();
const { t } = useLocalization();
if (!isAuthenticated) {
return <LoginForm onSuccess={() => console.log('Logged in!')} />;
}
return (
<div>
<h1>{t('Welcome')}</h1>
<button onClick={logout}>Logout</button>
</div>
);
}
Requirements
- Node.js 18.0 or higher
- pnpm (recommended) or npm/yarn
- ABP Framework backend (v7.x or v8.x recommended)
Current Version
This documentation covers ABP React v0.7.6.
Next Steps
- Installation - Create a new project or install packages manually
- Project Setup - Configure your project
- Quick Start - Build your first page