Screenshots

Click a screenshot to open it full size, or explore everything in the live preview.
Quick start
You need Node.js 20 or newer and npm. Clone the repository, install the dependencies and start the dev server:
git clone https://github.com/codespanda/Alpine-Admin-React.git
cd Alpine-Admin-React
npm install
npm run devThen open http://localhost:5173. Changes reload instantly. You can also download the code as a ZIP from GitHub (Code → Download ZIP).
Scripts
npm run devStart the Vite dev server with hot reloadnpm run buildType-check and build the production site into dist/npm run previewServe the built dist/ folder locally to check itnpm run lintLint the code with ESLintProject structure
Built with Vite and TypeScript. The parts you'll work in most:
src/
app/
(admin)/ One folder per screen with a page.tsx: dashboard, employees,
departments, attendance, leaves, payroll, performance,
timesheet, shifts, training, reports, settings and more
(auth)/ Login, register, password reset and email verification
globals.css Tailwind v4 theme and CSS variables
features/ Shared module logic: dashboard, employees, departments,
attendance, leaves
components/ Layout and shadcn/ui primitives
constants/
navigation.ts Sidebar items
mock-data.ts Sample records
stores/ Zustand stores
services/ Data access layer, ready to point at an API
providers/ hooks/ lib/ types/
docs/ The in-app documentation pagesCustomise the content
src/constants/mock-data.tsSample employees and records used by the features.src/constants/navigation.tsSidebar sections and links.src/services/Replace the mock calls with your API.src/app/(admin)/One folder per screen (30 in total), with forms built on React Hook Form + Zod.Colors and theme
src/app/globals.cssColors are CSS variables mapped into the Tailwind v4 @theme block, with light and dark modes.Pages and routing
React Router: routes are declared in src/lib/router.tsx and point at the page.tsx files in src/app/(admin)/ and src/app/(auth)/. The sidebar reads src/constants/navigation.ts.
Deployment
npm run build writes a static site to dist/, so it runs on any static host. The repository is set up for GitHub Pages:
- 1In the repository, open Settings → Pages and set Source to GitHub Actions.
- 2Push to the default branch. The workflow in .github/workflows/ builds the site and publishes it.
- 3To use your own domain, add it under Settings → Pages → Custom domain.
npm run build with output folder dist.Component reference
Alpine Admin React ships with its own in-app documentation covering every component, layout and pattern, with live examples. Open it next to your code while you build.
Open the component docsLicense
Alpine Admin React is free and released under the MIT license. Use it for personal and commercial projects, including client work, with no attribution required beyond keeping the license notice in the code.





