Yahoo! User Interface Library (YUI)

Welcome to the Yahoo! User Interface Library (YUI)

Thanks for downloading YUI, one of the world's most popular and best-regarded JavaScript/CSS libraries. The files you've downloaded contain all of the source code for YUI (in the /build directory) as well as functional examples for each component. They also contain documentation in the form of API docs and cheatsheets.

Getting Started:

  1. Check out the examples of YUI in action. We recommend starting with the Event Utility and Dom Collection examples; Event and Dom provide an important foundation for JavaScript developers using YUI. Once you've reviewed those two foundational pieces, go on to explore utilities like Drag and Drop and Animation or UI controls like Button, Calendar and TabView. If you're interested in YUI's CSS components, read through the examples for Reset, Base, Fonts, and Grids in that order.
  2. Remember that there are full user's guides for each component on the YUI website (external link). If you have any questions about a component as you play with the examples, check out the component's user's guide or the searchable API documentation.
  3. Remember that you have cheat sheets for each component included in this download. Unpack the zip and open the PDF if you want to review some concise print documentation for YUI components.
  4. Start building. You can include YUI scripts and CSS from this distribution (in the /build directory) or directly from Yahoo! servers. The YUI Loader Utility is a client-side loading package that can dynamically pull in YUI scripts as needed, whether from your servers or from ours.
  5. Become a member of the YUI community. YUI developers and implementers share thoughts and solutions and provide a helping hand in our forums (external link; requires a Yahoo! ID). YUI developers also contribute to the YUIBlog, where you'll find in-depth articles, videos and other great content about YUI and the world of frontend engineering.

YUI Functional Examples Included with This Download:

Along with the source code for YUI, your download includes 191 functional examples and tutorials that demonstrate each component in action. Use the list below or the menu at left to review these YUI demos — they're the best way to get oriented to what YUI can do and to grab sample code that can help you get started. Remember that these examples and more, in addition to user's guides for each YUI component, can also be found on the YUI website (external link). (Note: Almost all examples in this distribution will work if you are browsing them from your filesystem, but some examples included here do need to be deployed on a PHP-enabled http server to function properly; if you don't have access to such a setup, just check out those examples on our website to see how they work.)

Copyright © 2007 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings