npx skills add ...
npx skills add freshtechbro/claudedesignskills --skill modern-web-design
Modern web design trends, principles, and implementation patterns for 2024-2025. Use this skill when designing websites, creating interactive experiences, implementing design systems, ensuring accessibility, or building performance-first interfaces. Triggers on tasks involving modern design trends, micro-interactions, scrollytelling, bold minimalism, cursor UX, glassmorphism, accessibility compliance, performance optimization, or design system architecture. References animation skills (GSAP, Framer Motion, React Spring), 3D skills (Three.js, R3F, Babylon.js), and component libraries for implementation guidance.
npx skills add freshtechbro/claudedesignskills --skill modern-web-design
Modern web design in 2024-2025 emphasizes performance, accessibility, and meaningful interactions. This skill provides comprehensive guidance on current design trends, implementation patterns, and best practices for creating engaging, accessible, and performant web experiences.
This meta-skill synthesizes knowledge from all animation, interaction, and 3D skills in this repository to provide holistic design guidance.
Philosophy: Design decisions should prioritize Core Web Vitals and user experience on all devices.
Key Metrics:
Implementation Guidelines:
Related Skills: gsap-scrolltrigger, motion-framer, lottie-animations for optimized animations
Characteristics:
Typography Scale (Modern fluid system):
Color System (Accessibility-first):
Related Skills: animated-component-libraries for UI components
Definition: Small, purposeful animations that provide feedback, guide users, and enhance perceived performance.
Categories:
a) Hover States (Desktop):
b) Loading States:
c) Interactive Feedback:
Implementation Example (Framer Motion):
Related Skills: motion-framer, react-spring-physics, animejs for micro-interactions
Definition: Narrative-driven experiences where content reveals and transforms as the user scrolls.
Patterns:
a) Scroll-Triggered Reveals:
b) Scroll-Linked Animations:
c) Progress Indicators:
Implementation Example (GSAP ScrollTrigger):
Related Skills: gsap-scrolltrigger, locomotive-scroll, scroll-reveal-libraries, react-three-fiber for 3D scrollytelling
Evolution: Custom cursors that enhance interaction and provide contextual feedback.
Patterns:
a) Custom Cursor Shapes:
b) Contextual Transformations:
c) Performance Considerations:
prefers-reduced-motionImplementation Example:
Related Skills: gsap-scrolltrigger (for easing), motion-framer (for React cursor components)
Characteristics:
Modern Glassmorphism (2024):
Depth System (Layering):
Related Skills: animated-component-libraries for glassmorphic components
Patterns:
a) Adaptive Content:
b) Intelligent Interactions:
c) Performance + Privacy:
Implementation Considerations:
Use Case: Landing pages, product launches, portfolio sites
Characteristics:
Implementation (Combined approach):
HTML Structure:
Technologies:
lightweight-3d-effects)gsap-scrolltrigger)motion-framer)Related Skills: lightweight-3d-effects, gsap-scrolltrigger, motion-framer
Use Case: Portfolio work, product showcases, case studies
Implementation (GSAP ScrollTrigger):
Enhancements:
Related Skills: gsap-scrolltrigger, locomotive-scroll
Use Case: E-commerce, product marketing, showcases
Implementation (React Three Fiber):
Enhancements:
Related Skills: react-three-fiber, threejs-webgl, model-viewer-component
Use Case: Dashboards, analytics, infographics
Patterns:
Implementation (Framer Motion + IntersectionObserver):
Related Skills: motion-framer, pixijs-2d for canvas-based visualizations
Use Case: Multi-page apps, portfolio sites, storytelling experiences
Implementation (Barba.js + GSAP):
Modern Alternatives:
Related Skills: barba-js, gsap-scrolltrigger, motion-framer
Use Case: Creative agencies, portfolios, interactive experiences
Patterns:
Implementation (Vanilla JS + GSAP):
Related Skills: gsap-scrolltrigger, motion-framer
Use Case: Feature sections, testimonials, team grids
Implementation (Framer Motion variants):
Related Skills: motion-framer, gsap-scrolltrigger, scroll-reveal-libraries
GSAP ScrollTrigger (gsap-scrolltrigger):
Framer Motion (motion-framer):
React Spring (react-spring-physics):
Anime.js (animejs):
Lottie (lottie-animations):
Three.js (threejs-webgl):
React Three Fiber (react-three-fiber):
Babylon.js (babylonjs-engine):
Lightweight 3D (lightweight-3d-effects):
Animated Components (animated-component-libraries):
Scroll Reveals (scroll-reveal-libraries):
Respect User Preferences:
JavaScript Detection:
WCAG AAA Standards:
Testing:
Requirements:
Focus Styles (Modern):
Semantic HTML:
Animation Announcements:
Minimum Size: 44x44px (iOS), 48x48px (Android)
Spacing: Minimum 8px between touch targets
Implementation:
60 FPS Checklist:
will-change sparingly (memory cost)GSAP Performance:
Critical Path:
Progressive Enhancement:
Modern Formats:
Responsive Images:
Loading Strategy:
Runtime Performance:
Related Skills: threejs-webgl, react-three-fiber, babylonjs-engine
Code Splitting:
Tree Shaking:
Problem: Too many animations distract from content and hurt performance.
Solution:
Rule of Thumb: If you can't explain why an animation exists, remove it.
Problem: Animations work on desktop but lag on mobile devices.
Solution:
matchMedia for device-specific experiencesProblem: Experience breaks without JavaScript or on older browsers.
Solution:
Problem: Forgetting keyboard users, screen readers, or motion-sensitive users.
Solution:
prefers-reduced-motionChecklist:
Problem: Blank screen or layout shifts during content load.
Solution:
Problem: Overriding native scroll behavior frustrates users.
Solution:
Good Practice: Enhance scroll, don't replace it.
Modern Design Tokens (CSS Custom Properties):
Atomic Design (Brad Frost):
Related Skills: animated-component-libraries for component patterns
This skill references the following skills for implementation:
gsap-scrolltrigger - Scroll-driven animations, pinning, scrubbingmotion-framer - React animations, gestures, layout animationsreact-spring-physics - Physics-based animationsanimejs - SVG animations, stagger effectslottie-animations - Designer-created animationsscroll-reveal-libraries - Simple scroll reveals (AOS)threejs-webgl - Custom 3D scenes and effectsreact-three-fiber - 3D in React applicationsbabylonjs-engine - Physics-based 3D, VR/XRlightweight-3d-effects - Vanta.js backgrounds, Zdog illustrationsbarba-js - Page transitionslocomotive-scroll - Smooth scrollinganimated-component-libraries - Magic UI, React Bitspixijs-2d - Canvas-based 2D graphicsSee the references/ directory for in-depth documentation:
design_trends_2024.md - Current web design trends and forecastsinteraction_patterns.md - Comprehensive micro-interaction catalogaccessibility_guide.md - WCAG compliance patterns and testingperformance_checklist.md - Optimization strategies and metricsThe scripts/ directory includes tools for implementing design patterns:
pattern_generator.py - Generate design pattern boilerplatedesign_audit.py - Audit existing designs for complianceThe assets/ directory contains design system templates and starter files. See assets/README.md for details.