I really like the examples: a screenshot of what the thing looks like, with a link to the corresponding source code right next to it! I think all UI component frameworks (or DSLs, I guess) should have something like that.
Some webdev libraries/frameworks have gone a step further and include code in the same page (though maybe it could/should be collapsed by default sometimes).