# Chrome for Developers code samples — card for AI agents

Google's articles and demos on modern web animation (scroll-driven animations, view transitions, Web Animations API) with copyable code samples.

Category: Web animation examples and effects (also: UI animation (Lottie, Rive)) · maker Google · checked 2026-11-05 · style: minimal

## Price
- Price: Free
- Free tier: Fully free.

## License
Code samples Apache 2.0; page content CC BY 4.0 — https://developer.chrome.com/docs/css-ui/scroll-driven-animations

- commercial: **yes** (Commercial use OK)
  > code samples are licensed under the Apache 2.0 License
  (https://developer.chrome.com/docs/css-ui/scroll-driven-animations)
- attribution: **varies** (Credit depends on the item)
  > the content of this page is licensed under the Creative Commons Attribution 4.0 License
  (https://developer.chrome.com/docs/css-ui/scroll-driven-animations)
- in app: **yes** (Can ship inside your app)
  > code samples are licensed under the Apache 2.0 License
  (https://developer.chrome.com/docs/css-ui/scroll-driven-animations)
- redistribute: **yes** (Can pass the files on to your own users)
  > code samples are licensed under the Apache 2.0 License
  (https://developer.chrome.com/docs/css-ui/scroll-driven-animations)

## Rules to follow
- Code samples: Apache 2.0, keep the notice when redistributing.
- Article text and images: CC BY 4.0, credit Google if you reuse them.

## Can an AI agent use it by itself?
**Yes** · copy-code: Agent copies the code, snippet or prompt from the page (no account)

## How an agent gets files
- Read the article and copy the code samples; no account. (sign-in: none)
- Formats: html, css, js
- Not allowed: 'Except as otherwise noted' — check each page footer

## How to connect
- Download only
- Website: https://developer.chrome.com

## Notes
Footer says 'Except as otherwise noted', so check the footer of each page.

## Lines to paste into your prompt or AGENTS.md

```
- Chrome for Developers code samples (Web animation examples and effects, UI animation (Lottie, Rive)). Google's articles and demos on modern web animation (scroll-driven animations, view transitions, Web Animations API) with copyable code samples. Price: free; commercial use OK; credit depends on the item. Style: minimal.
  Connect: download from https://developer.chrome.com (no API).
  Get files: Read the article and copy the code samples; no account (html, css, js).
  Not allowed: 'Except as otherwise noted' — check each page footer
  Rule: Code samples: Apache 2.0, keep the notice when redistributing.
  Rule: Article text and images: CC BY 4.0, credit Google if you reuse them.
  License: https://developer.chrome.com/docs/css-ui/scroll-driven-animations (checked 2026-11-05; details: https://agentgid.com/assets/chrome-developers-samples/)
```

## Links
- AgentGid page: https://agentgid.com/assets/chrome-developers-samples/
- Is it free for commercial use? https://agentgid.com/assets/chrome-developers-samples/commercial-use/
- Source: https://developer.chrome.com/docs/css-ui/scroll-driven-animations

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
