
The very impressive Yahoo! User Interface Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, HTML and AJAX.
All the components in the Library have been released as open source under a BSD license and are free for all uses.
Furthermore they provide access to their Design Pattern Library under a Creative Commons license. Worth to check it out!