I know, we can play a lot with Alloy Widgets, which can be customized for reusable controls, but I am looking for simple way to create a lightweight custom control, that can be created in Alloy tags as well as in Javascript.
For example, creating a simple Icon control, derived from Image (or wrap image or a view), adds little extra functionality.