Is YouTube UI free to use, and where will I get the source code of YouTube UI?

Is YouTube UI free to use, if yes than where can I get source code of UI for mobile device and for large device?