Here's the example --
I'm using YUI 2.3, but the version really shouldn't matter.
The HTML is even simpler --
and then we style it with some CSS --
That's all there is to it. This illustrates how you can use YUI's "helper" components to enhance your application.
Use and enhance this example as much as you like.