Animation
Animation techniques built using CSS or JavaScript with considerations for accessibility and user preferences.
Clipboard
Common patterns for dealing with the clipboard.
Components
Cross-browser UI components for use in accelerating or inspiring your own design systems.
Files and directories
Common patterns for dealing with files and directories.
Layout
Layout patterns built using modern CSS APIs that help you build common interfaces such as cards, dynamic grid areas, and full-page layouts.
Media
Common patterns for working with media.
Theming
Techniques to assist in managing color throughout your projects.
Web apps
Common patterns for building web apps.
Web Vitals patterns
Common patterns optimized for Core Web Vitals, including patterns that are often tricky to implement without hurting your Core Web Vitals scores. You can use the code in these examples to help ensure your projects stay on the right track.