Yahoo has created a design pattern library in their developer section and can be found here.
Sadly no code drops to accompany the design patterns but it's a good start.
Nice one Yahoo! I hope MSN and Google will follow suit.