The Content component drives the upper-level layout pattern for pages across the Invision application. Note that there is no custom element-style <content />
component. Instead, simply use the c-content
CSS classes inside new view templates.
Usage
The variant examples shown below are the best resource for finding the layout pattern most relevant to your specific view. Aside from the modal/dialog extension, the Content component should occupy the main area for a given view.
Generally speaking, the Content layout area can be divided into up to 3 sections. This allows for an optional inner navigation panel (typically on the left) and/or optional meta panels (typically on the right).
Similarly, there are 3 defined heading styles: Main and secondary headings that span the full view, and an inner heading that can be used per internal section.
Note: Many examples showcase the use of a few other components that are typically used in concert with the content component.