Skip to content

About

A professional, scalable React 19 + Vite + TailwindCSS admin dashboard template with routing, Redux Toolkit, RTK Query, and i18n support. Ready for enterprise apps, rapid MVPs, and future Ant Design integration.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Repository files navigation

Admin Template

A fully-featured, production-ready Admin Dashboard Template built using the latest frontend technologies including React 19, Vite 6, TypeScript, TailwindCSS v4, Ant Design 5, Redux Toolkit, RTK Query, and react-i18next.

This project features responsive layouts, custom language switchers, multi-language support (English + Armenian), modular routing, dynamic components, and a clean developer experience optimized for scalability.


πŸš€ Features

  • βš›οΈ React 19 + react-router-dom@7 with lazy-loaded routing (React.lazy + Suspense)
  • ⚑ Vite 6 - blazing-fast bundler and dev server
  • πŸ“¦ TypeScript with strict linting rules
  • 🎨 Tailwind CSS v4 for utility-first, customizable UI
  • 🧩 Ant Design v5 fully integrated and themed with CSS variables
  • 🌍 react-i18next multi-language support (EN/AM)
  • 🧠 Redux Toolkit with RTK Query for API and state management
  • 🧱 Modular layout with shared Header, Sidebar, UserCard, PageLayout
  • 🌐 Custom fonts via Helvetica Now Display integration
  • πŸŒ€ Global Spinner component for lazy routes
  • πŸ“š Easily extendable with pre-configured folder structure and scalable design

πŸ“ Folder Structure

src/
β”œβ”€β”€ components/          # Reusable UI and shared components
β”‚   β”œβ”€β”€ Icons/           # Custom SVG icons
β”‚   β”œβ”€β”€ LanguageSwitcher # Language toggles for Auth and Dashboard
β”‚   └── UI/              # Spinner and other UI elements
β”œβ”€β”€ constants/           # Routes, theme, form config, etc.
β”œβ”€β”€ i18n/                # Localization files (EN + HY)
β”œβ”€β”€ layout/              # Layout system with Header + Sidebar
β”œβ”€β”€ pages/               # Route-based lazy pages (Dashboard, Products, etc.)
β”œβ”€β”€ routes/              # Route definitions
β”œβ”€β”€ store/               # Redux Toolkit store, RTK Query setup, hooks
β”œβ”€β”€ styles/              # Global Tailwind + custom fonts
β”œβ”€β”€ utils/               # Helper functions (e.g., string formatting)
β”œβ”€β”€ main.tsx             # Root app entry point
└── vite-env.d.ts        # Vite types

πŸ“¦ Getting Started

1. Clone the repo

git clone https://github.com/your-username/admin-template.git
cd admin-template

2. Install dependencies

npm install

3. Start development server

npm run dev

4. Build for production

npm run build

5. Preview production build

npm run preview

🌍 Internationalization (i18n)

  • Available languages: English (en) and Armenian (hy)
  • Language toggles via <AuthLanguageSwitcher /> and <DashboardLanguageSwitcher />
  • Translation files are located in src/locales/{en,hy}.json

✨ New Updates

  • βœ… Ant Design 5 integration with full custom theming via THEME_CONFIG
  • βœ… Strict linting enabled via typescript-eslint, @eslint/js, and recommended rules
  • βœ… Dynamic Sidebar with multi-language labels and Ant Design Menu
  • βœ… Modular User Card with animation toggle and logout support
  • βœ… Custom Font Integration with Helvetica Now Display
  • βœ… Password visibility toggle in SignIn / SignUp using Ant Design Icons
  • βœ… PageLayout component for consistent UI across all pages
  • βœ… Responsive mobile-friendly UI with tailwindcss

πŸ§ͺ How to Extend

  • Create a new page inside src/pages/
  • Add its route in src/routes/routes.tsx
  • Use PageLayout for consistency
  • Use useAppSelector/useAppDispatch for state access
  • Add new API endpoints to src/store/api.ts

πŸ“œ License

MIT β€” free to use and modify as needed.


πŸ™Œ Author

Built with ❀️ by Narek Petrosyan

πŸ“« Email: narek.petrosyan.005@gmail.com 🌐 Portfolio: narek.portfolo.am

About

A professional, scalable React 19 + Vite + TailwindCSS admin dashboard template with routing, Redux Toolkit, RTK Query, and i18n support. Ready for enterprise apps, rapid MVPs, and future Ant Design integration.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages