# yezihaohao/react-admin

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/yezihaohao-react-admin).**

6,746 stars · 1,870 forks · TypeScript · mit

## Links

- GitHub: https://github.com/yezihaohao/react-admin
- Homepage: https://admiring-dijkstra-34cb29.netlify.com/
- awesome-repositories: https://awesome-repositories.com/repository/yezihaohao-react-admin.md

## Topics

`admin-template` `ant-design` `antd` `html` `javascript` `react` `react-admin`

## Description

react-admin is a full-featured admin dashboard built with React and Ant Design, designed for building interfaces that manage backend operations. Its core identity centers on providing a complete admin panel with dynamic menu configuration, role-based access control, and third-party OAuth authentication, all within a responsive layout that adapts to different screen widths.

The project distinguishes itself through a dynamic route-based menu system that fetches navigation structure from a server API, enabling runtime menu updates without redeploying the application. It integrates role-based route guarding that checks user roles on each transition and redirects unauthorized access, alongside a unified authentication flow supporting both standard email-password login and GitHub OAuth. The admin layout includes a collapsible sidebar, top navigation, scrollable menus, and route-aware active states, with theme customization achieved through Less variable overrides and a configurable color scheme.

Beyond these differentiators, the project supports on-demand component loading to reduce bundle size, environment-specific build configurations, and Progressive Web App installation prompts. It includes data visualization through ECharts and Recharts charting libraries, data tables using Ant Design components, rich content editing, and nested menu organization with automatic page title updates per route. The build tooling compiles Less stylesheets and configures Ant Design for optimized loading.

## Tags

### Web Development

- [Admin Panel Frameworks](https://awesome-repositories.com/f/web-development/admin-panel-frameworks.md) — Provides a complete admin dashboard framework with navigation, theming, and responsive layout for backend management.
- [Admin Layout Components](https://awesome-repositories.com/f/web-development/admin-dashboard-frameworks/admin-layout-components.md) — Builds a full-page admin layout with collapsible sidebar, top navigation, scrollable menus, and route-aware active states. ([source](https://cdn.jsdelivr.net/gh/yezihaohao/react-admin@master/README.md))
- [On-Demand Component Loading](https://awesome-repositories.com/f/web-development/on-demand-component-loading.md) — Loads only the Ant Design components used in the project through webpack plugin configuration to reduce bundle size.
- [Responsive Layout Adaptation](https://awesome-repositories.com/f/web-development/responsive-layout-adaptation.md) — Adjusts menu display type and grid layout based on browser width using CSS media queries and React state management.
- [Admin Layout Responsive Adapters](https://awesome-repositories.com/f/web-development/responsive-layout-adaptation/admin-layout-responsive-adapters.md) — Adapts sidebar, grid, and menu display to different screen widths for a consistent admin experience.

### Content Management & Publishing

- [Dynamic Menu Hierarchies](https://awesome-repositories.com/f/content-management-publishing/category-organizations/hierarchical-navigations/dynamic-menu-hierarchies.md) — Fetches navigation menus from a server API to update sidebar structure without redeploying the application.

### Security & Cryptography

- [OAuth Authentication](https://awesome-repositories.com/f/security-cryptography/oauth-authentication.md) — Integrates GitHub OAuth login alongside standard email-password authentication using a unified authentication flow.
- [Role-Based Access Control](https://awesome-repositories.com/f/security-cryptography/role-based-access-control.md) — Restricts page access by user role with automatic redirects for unauthorized users on route transitions.
- [Route-Level Access Guards](https://awesome-repositories.com/f/security-cryptography/role-based-access-control/route-level-access-guards.md) — Checks user roles on each route transition and redirects unauthorized access to a 404 page using a higher-order component.
- [Third-Party Authentication Providers](https://awesome-repositories.com/f/security-cryptography/third-party-authentication-providers.md) — Signs in using a GitHub OAuth account alongside a standard email-and-password login page. ([source](https://cdn.jsdelivr.net/gh/yezihaohao/react-admin@master/README.md))
- [GitHub OAuth Integrations](https://awesome-repositories.com/f/security-cryptography/oauth-authentication/github-oauth-integrations.md) — Integrates GitHub OAuth login alongside standard email-password authentication in a unified flow.

### User Interface & Experience

- [React-Based Admin Interfaces](https://awesome-repositories.com/f/user-interface-experience/admin-interface-components/react-based-admin-interfaces.md) — Builds a complete admin dashboard using React and Ant Design with menus, tables, charts, and authentication.
- [API-Driven Menu Routing](https://awesome-repositories.com/f/user-interface-experience/application-menu-systems/api-driven-menu-routing.md) — Fetches menu structure from a server API and maps it to React Router routes for runtime menu updates.
- [Server-Fetched Menu Structures](https://awesome-repositories.com/f/user-interface-experience/menu-integration-apis/server-fetched-menu-structures.md) — Fetches navigation menu configuration from a backend API to enable runtime menu updates without redeploying the application. ([source](https://github.com/yezihaohao/react-admin/blob/master/CHANGELOG.md))
- [Nested Navigation Menus](https://awesome-repositories.com/f/user-interface-experience/nested-navigation-menus.md) — Configures multi-level, tree-structured menu items to support deep navigation hierarchies in the sidebar. ([source](https://github.com/yezihaohao/react-admin/blob/master/CHANGELOG.md))
- [Theme Customization](https://awesome-repositories.com/f/user-interface-experience/ui-architecture/design-utilities/design-systems/theme-architecture-frameworks/theme-customization.md) — Overrides Ant Design's default Less variables through a JSON file and webpack configuration to apply a custom color scheme. ([source](https://github.com/yezihaohao/react-admin/wiki/webpack-antd%E4%B8%BB%E9%A2%98%E9%85%8D%E7%BD%AE))
- [Ant Design Theme Overrides](https://awesome-repositories.com/f/user-interface-experience/ui-architecture/design-utilities/design-systems/theme-architecture-frameworks/theme-customization/ant-design-theme-overrides.md) — Overrides Ant Design's Less variables to apply a custom color scheme and visual theme.

### Software Engineering & Architecture

- [Theme Configuration Overrides](https://awesome-repositories.com/f/software-engineering-architecture/configuration-variables/theme-configuration-overrides.md) — Customizes Ant Design's default theme by overriding Less variables through a JSON configuration file and webpack loader.
