Given that they’re talking about their own SDK that they created in this article, the examples are probably from their own docs and engineers.
> Are they just copied into the project?
No, v0 doesn't copy and paste snippets into projects. LLM coding tools don't work like that.
Providing example code or patterns for LLMs to follow is a very effective technique. They don't copy and paste or clone the code. They're good at identifying patterns, especially when you give them hints. What they did is not new or novel, it's just a well-known and effective technique for accomplishing various things with LLMs. Providing similar or generic examples goes a long way.