Google Chrome Samples is a repository of code examples demonstrating new functionality in Google Chrome releases and general web platform capabilities.
The repository serves as a collection of working demonstrations tied to Chrome features tracked on chromestatus.com. Samples can be contributed either as feature-specific examples linked to ChromeStatus entries or as general samples illustrating web platform techniques. The repository uses Jekyll-based templating to reduce boilerplate for feature samples, allowing developers to define front matter blocks that are processed during site generation while other files are served as-is. Contributors are encouraged to reference the SAMPLE_STARTING_POINT directory as a template and to mention relevant Chrome engineers in pull requests to ensure samples accurately represent the implemented functionality.
This repository is most useful for developers learning how to use newly released Chrome features or exploring web platform capabilities through concrete, working examples. It works best as a reference collection rather than as a dependency to integrate into projects. The samples follow the Google JavaScript Style Guide and are linted with ESLint using the google configuration, ensuring consistency across examples. Developers contributing samples should file pull requests against the gh-pages branch and can use Jekyll locally to preview their work before submission.
The project experiences slow response times on issues and pull requests, with first responses often taking weeks or longer.