uiux-guidelineslisted
Install: claude install-skill HermeticOrmus/hermetic-claude
# UI/UX Guidelines
## Icons vs Emojis
**Always prefer SVG icons over emojis for professional applications.**
### Why Icons Over Emojis
| Aspect | Icons | Emojis |
|--------|-------|--------|
| **Consistency** | Same appearance across all platforms | Vary wildly between OS/browsers |
| **Professionalism** | Clean, professional look | Casual, informal appearance |
| **Customization** | Size, color, stroke width adjustable | Fixed appearance |
| **Accessibility** | Better screen reader support | Inconsistent alt text |
| **Performance** | Lightweight SVG | Font-dependent rendering |
| **Branding** | Match design system colors | Cannot be customized |
### SVG Icon Pattern (React/Next.js)
```tsx
// Define icons as React elements
const Icons = {
user: (
<svg className="w-6 h-6 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" />
</svg>
),
calendar: (
<svg className="w-6 h-6 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" />
</svg>
),
// ... more icons
};
// Usage in components
<div className="w-10 h-10 rounded-lg bg-gradient-to-br from-blue-500 to-cyan-500 flex items-center justify-center">
{Icons.user}
</div