The new WebUI is a modern Next.js application with enhanced UI/UX, featuring a professional navbar, improved tab navigation, and comprehensive footer.
A professional, always-visible navigation bar with:
-
Branding Section
- Animated logo with hover effect (360° rotation)
- App name with version badge
- Descriptive tagline
-
Action Buttons
- 🔄 Refresh: Reload scan history and data
- 💻 Console: Quick access to terminal (placeholder)
- ⚙️ Settings: Configuration access (placeholder)
- 🐙 GitHub: Link to repository
-
Styling
- Backdrop blur for modern glass effect
- Gradient logo background
- Smooth animations with Framer Motion
Improved from basic text tabs to professional design:
-
Icons for Each Tab
▶️ New Scan (Play icon)- ⚡ Active Scans (Activity icon)
- 💾 Dumped Databases (Database icon)
- 🔄 Status (Loader icon)
- 🛡️ Vulnerabilities (Shield icon)
- 📂 Explorer (FileCode icon)
- 💻 Logs (Terminal icon)
- 🕐 History (Clock icon)
-
Active Scan Badge
- Red animated badge showing count
- Pulse animation for attention
- Positioned at top-right of Active tab
-
Visual Enhancements
- Gradient background on active tab
- Shadow effects with glow
- Larger icons (4x4)
- Responsive labels (hidden on mobile)
- Smooth transitions
Professional footer with:
-
Copyright & Branding
- Year and app name
- "Made with ❤️" message
-
External Links
- SQLMap Project (GitHub)
- Documentation (sqlmap.org)
- Icons for visual clarity
-
Version Information
- SQLMap API version badge
- Styled with dark theme
Before:
┌─────────────────────────────┐
│ Logo SQLMap GUI Refresh │
├─────────────────────────────┤
│ Tabs... │
│ Content │
└─────────────────────────────┘
After:
┌─────────────────────────────┐
│ Sticky Navbar (always top) │
│ Logo | Actions | Settings │
├─────────────────────────────┤
│ Enhanced Tabs with Icons │
│ [▶️ New] [⚡ Active] [💾] │
├─────────────────────────────┤
│ │
│ Content Area │
│ │
├─────────────────────────────┤
│ Footer with Links │
└─────────────────────────────┘
- ✅ Sticky navbar for always-available controls
- ✅ Visual scan counter with animation
- ✅ Icon-based navigation for faster recognition
- ✅ Responsive design (works on mobile)
- ✅ Smooth animations throughout
- ✅ Modern gradient effects
- ✅ Glass morphism (backdrop blur)
- ✅ Consistent color scheme
- ✅ Better spacing and padding
- ✅ Professional typography
- ✅ Quick refresh without scrolling
- ✅ Easy access to settings
- ✅ External documentation links
- ✅ Version information display
- Full labels on all tabs
- All navbar buttons visible
- Full footer layout
- Icon-only tabs (labels hidden)
- Navbar remains functional
- Footer stacks vertically
- Blue:
from-blue-600 to-purple-600(Gradients) - Dark:
slate-950(Background) - Accent:
slate-700(Borders)
- Hover: Brighter shades
- Active: Gradient + shadow
- Disabled: Reduced opacity
- ✅ Component-level code splitting
- ✅ Framer Motion animations are GPU-accelerated
- ✅ Icons from lucide-react (tree-shakeable)
- ✅ Next.js automatic optimization
- Initial page load: Fast (Next.js SSR)
- Tab switching: Instant (client-side)
- Animations: Smooth 60fps
{
"framer-motion": "^12.23.26", // Animations
"lucide-react": "^0.560.0", // Icons
"next": "16.0.8", // Framework
"next-themes": "^0.4.6", // Theme support
"@radix-ui/*": "latest" // UI primitives
}Edit navbar.tsx and sqlmap-gui.tsx:
// Change gradient
className="bg-gradient-to-br from-YOUR-COLOR to-YOUR-COLOR"
// Change active tab color
className="data-[state=active]:from-YOUR-COLOR"Edit navbar.tsx:
<Button variant="ghost" size="sm">
<YourIcon className="h-4 w-4 mr-2" />
Your Label
</Button>Edit footer.tsx:
<a href="YOUR_LINK">
<Icon className="h-4 w-4" />
<span>Your Text</span>
</a>- Framer Motion: https://www.framer.com/motion/
- Lucide Icons: https://lucide.dev/
- Shadcn UI: https://ui.shadcn.com/
- Next.js: https://nextjs.org/docs
| Feature | Frontend (Vite) | WebUI (Next.js) |
|---|---|---|
| Framework | React + Vite | Next.js 16 |
| Port | 5173 | 8080 |
| Navbar | Inline header | Sticky component |
| Tabs | Basic | Enhanced with icons |
| Footer | None | Yes, with links |
| Animations | Basic | Framer Motion |
| Build | Vite | Next.js |
| Recommended | Legacy | ✅ Yes |
Potential additions:
- Dark/Light theme toggle in navbar
- Keyboard shortcuts
- Notification system
- User preferences panel
- Export scan results
- Scan comparison feature
- Advanced filtering in history
- Real-time collaboration features
Ready to use! Start with: bun run webui