A professional admin dashboard template built with React 19, Vite, TypeScript, TailwindCSS, Redux Toolkit, RTK Query, and react-i18next. This template provides a modern structure with lazy-loaded routing, state management, internationalization, and a responsive UI layout β ready to scale for enterprise-grade apps or quick MVPs.
- βοΈ React 19 with
react-router-domv6 for navigation - β‘ Vite for fast development and optimized builds
- π¨ TailwindCSS utility-first styling
- π§ Redux Toolkit with RTK Query for scalable state and API management
- π react-i18next internationalization (i18n) support
- π§© Modular architecture with lazy-loaded pages via
React.lazy+Suspense - πΌοΈ Shared layout with persistent Sidebar and Header
- π Global loading spinner for route transitions
- π§± Ready for Ant Design integration
src/
βββ main.tsx # App entry point
βββ App.tsx # Root component with routes
βββ i18n/ # i18n configuration and translations
βββ layout/ # Shared layout components (Header, Sidebar, Layout)
βββ pages/ # Lazy-loaded page views
βββ store/ # Redux store and RTK Query setup
βββ routes/ # Route definitions (optional split)
βββ components/ # Reusable components (e.g. Spinner)
βββ styles/ # Tailwind global styles
git clone https://github.com/Narek-JS/admin-template.git
cd admin-templatenpm installnpm run devnpm run build- English (
en) and Armenian (hy) translations - Easily switch language via the
<LanguageSwitcher />in the header - All translation keys defined in
src/i18n/locales/{lng}/translation.json
- Add more pages in
src/pagesand define their routes inApp.tsx - Add new API endpoints using RTK Query in
src/store/api.ts - Integrate UI libraries like Ant Design or ShadCN when ready
MIT β feel free to use and modify for your own projects.
Built with β€οΈ by Narek Petrosyan π« Email: narek.petrosyan.005@gmail.com π Portfolio: narek.portfolo.am