Is Chrome for Developers code samples free for commercial use?
Yes. Chrome for Developers code samples is free, and its license allows commercial use.
“code samples are licensed under the Apache 2.0 License” developer.chrome.com/docs/css-ui/scroll-drive...
Read on the official page developer.chrome.com/docs/css-ui/scroll-driven-animations on Nov 5, 2026. Not legal advice: terms change, check the page before you ship.
Price
Free
Fully free.
Commercial use
Yes
Code samples Apache 2.0; page content CC BY 4.0
Credit the author
Per item
Credit depends on the item
Do you need to credit Chrome for Developers code samples?
Credit depends on the item.
“the content of this page is licensed under the Creative Commons Attribution 4.0 License” developer.chrome.com/docs/css-ui/scroll-drive...
Can you ship Chrome for Developers code samples content inside an app or game?
Can ship inside your app.
Same clause as quoted for commercial use.
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.
Rules for your agent
Copied.
- 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/)
Chrome for Developers code samples: full license, pricing and API details →
Free for commercial use: other web animation examples and effects
| Pick for your agent | Source | Price | License | Agent access |
|---|---|---|---|---|
| Animate UI Animated drop-in primitives for shadcn/ui, Radix UI, Base UI and React Aria (tabs, switches, accordions, counters), installed as source via CLI. minimal |
Free | Commercial OK No credit | npm@animate-ui/cli |
|
| Animate.css Ready-made CSS keyframe animations (bounce, fade, slide, zoom, attention seekers) added with one class name. playfulminimal Used in 6 AI-agent projects (0.1% of JS) |
Free | Commercial: conditions No credit | npmanimate.css |
|
| AOS (Animate On Scroll) Small JS library that fades, slides and zooms elements in as you scroll, set with data-aos attributes in HTML. minimal Used in 6 AI-agent projects (0.1% of JS) |
Free | Commercial OK No credit | npmaos |
|
| AutoAnimate Zero-config utility that adds smooth add/remove/move transitions to lists and layouts with one function call (React, Vue, Svelte, plain JS). minimal Used in 9 AI-agent projects (0.2% of JS) |
Free | Commercial OK No credit | npm@formkit/auto-animate |
|
| GSAP (GreenSock) JavaScript animation library with all plugins (ScrollTrigger, SplitText, MorphSVG) free, plus a demo hub of copyable effects: buttons, cursors, scroll, text. minimalplayfuldark Used in 113 AI-agent projects (2.3% of JS) |
Free | Commercial OK No credit | npmgsap |
|
| Hydra Live-coding video synth in the browser: chain oscillators, noise, feedback and camera inputs into abstract motion visuals. abstractretrocolorfuldark |
Free | Commercial: conditions No credit | npmhydra-synth |
0 selected across all categories
Copied. Paste it into your prompt or AGENTS.md.
Link copied.