Patterns

A collection of code snippets to help you optimize your web projects.

Animation patterns

A collection of animation techniques built using CSS or JavaScript with considerations for accessibility and user preferences.

Component patterns

A collection of cross browser UI components for use in accelerating or inspiring your own design systems.

Layout patterns

A collection of layout patterns built using modern CSS APIs that will help you build common interfaces such as cards, dynamic grid areas, and full-page layouts.

Theming patterns

A collection of techniques to assist in managing color throughout your projects.

Web Vitals patterns

A collection of common UX patterns optimized for Core Web Vitals. This collection includes 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.

By Chrome DevRel