Run component in runtime

How to render component in runtime? I would like to see my custom component render in editor mode but can not find a document to guide me? Do you have any support for this?