Componentize a bunch of UI elements