A modern Tailwind CSS v4 + HTML/JS login page for MikroTik Hotspot. This replaces the default MikroTik login with a clean, responsive, and fully customizable page.
- ✅ Responsive design (desktop & mobile)
- ✅ Built with Tailwind CSS v4
- ✅ Easy to customize via
input.css → output.css - ✅ Supports logo, background, and branding
- ✅ Plug-and-play with MikroTik Hotspot
| Feature | Default Login | Custom Login |
|---|---|---|
| Design | Outdated | Modern, responsive |
| Customization | Very limited | Full (HTML + Tailwind) |
| Branding | Hard to add | Logo, colors, backgrounds |
| Mobile Friendly | No | Yes ✅ |
Repo includes:
login.html
logout.html
md5.js
input.css
output.css ← generated CSS
images/
-
Edit styles in
input.css(Tailwind utility classes). -
Run Tailwind build:
npx tailwindcss -i ./input.css -o ./output.css --watch
This compiles your styles into
output.css, which is linked inlogin.html.
- Connect via Winbox / WebFig / FTP.
- Go to Files → upload all project files.
- Make sure they’re inside
/hotspot/directory.
-
Go to IP → Hotspot → Server Profiles.
-
Edit your active profile.
-
Set HTML Directory to:
hotspot
- Connect to your Hotspot → login redirect shows your new page.
- Try logging in with valid credentials.
- Replace
/images/logo.pngwith your own. - Edit
input.css(e.g., brand colors, spacing). - Rebuild Tailwind to update
output.css. - Edit
login.htmlfor text, fields, or announcements.
- Don’t remove
md5.js→ MikroTik requires it for login. - File names must match defaults (
login.html,logout.html). - Keep a backup of the original hotspot files.
MIT – free to use and modify.

