1. One or more computer storage media having stored thereon a plurality of instructions that describe a component, wherein the component, when created, is to: expose a modes enumeration; return to a requestor, in response to the requestor invoking the modes enumeration based at least in part on an order of preference of the requestor, a list of one or more presentation models supported by the component for a particular command associated with the component, one or more groups of commands being enumerated such that particular commands within the one or more groups of commands are located in closer proximity to one another; and presenting the component via a user interface based at least in part on the one or more presentation models and context information that is associated with the user interface, the context information describing currently available resources of the user interface and how the items are currently being displayed on the user interface.