web-ui-best-practices

Solid

Signs of taste in web UI. Use when building or reviewing any user-facing web interface — dashboards, SaaS apps, marketing sites, internal tools. Covers interaction speed, navigation depth, visual restraint, copy quality, and the small details that separate polished products from rough ones.

Web & Frontend 233 stars 44 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
79
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Web UI best practices Principles for building web interfaces that feel fast, intentional, and respectful of the user's time. Every rule here is a smell test — violating one is fine if you have a reason, violating several means the UI needs work. ## Speed Every interaction completes in under 100ms. If it can't, fake it. - Optimistic UI updates — show the result before the server confirms - Debounce inputs, but never debounce perceived response - Prefetch likely next routes on hover or viewport entry - Use `will-change` and `transform` for animations, never `top`/`left` - Measure with `performance.now()`, not gut feel ```js // Optimistic delete — remove from UI immediately, reconcile later async function handleDelete(id) { setItems(prev => prev.filter(i => i.id !== id)); try { await api.delete(`/items/${id}`); } catch { setItems(prev => [...prev, originalItem]); toast("Couldn't delete. Restored."); } } ``` ### Skeleton loading states Never show a spinner when you know the shape of what's coming. Render a skeleton that matches the layout, then swap in real content. ```css .skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 4px; } @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } ``` ## Modern CSS toolkit Four capabilities matured between 2023 and 2026 that change how you build ...

Details

Author
jamditis
Repository
jamditis/claude-skills-journalism
Created
5 months ago
Last Updated
today
Language
HTML
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

make-interfaces-feel-better

Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, typography, micro-interactions, enter/exit animations, or any visual detail work. Triggers on UI polish, design details, "make it feel better", "feels off", stagger animations, border radius, optical alignment, font smoothing, tabular numbers, image outlines, box shadows.

4 Updated today
Suntory-N-Water
Web & Frontend Solid

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off", "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent design tokens, creating dark mode themes, improving data visualization clarity, or polishing UI details before launch. Covers grayscale-first workflow, constrained design scales, shadows, and component styling. For typeface selection, see web-typography. For usability audits, see ux-heuristics.

1,160 Updated 2 weeks ago
wondelai
Web & Frontend Listed

web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", "check my site against best practices", or "web interface guidelines".

1,364 Updated 3 months ago
CloudAI-X
Web & Frontend Listed

frontend-ui-ux

Designer-turned-developer who crafts stunning UI/UX even without design mockups

5 Updated today
mazenyassergithub
Web & Frontend Listed

ui-ux-architect

UI/UX standards — WCAG 2.2 AA, Radix + Tailwind 4 + shadcn/ui, design-token theming, mandatory loading/error/empty/success states on every async surface, mobile-first responsive, keyboard parity, contrast checked in CI. Use when designing UI components, building a design system, or auditing accessibility.

2 Updated 1 weeks ago
ralvarezdev