Putting Registration Form In Widget

I want to put a "mini" version of the registration form in a sidebar on my site.

Is there a feature I have not seen that does this, or is there suggested code that I can insert in a text widget?

Thanks