Design
Panels are simple containers that are used to organise content and functionality within a grid on the page. They are commonly integrated with the Layout components (group and item).
Examples
Default panel (no visual treatment).
Primary panel (primary highlight level).
Secondary panel (secondary highlight level).
Integration with Layout
When a single panel is used inside a Layout item (that is, it's the only child element of the +ace-item()
element) it will automatically receive basic horizontal spacing:
Default panel in an item.
Default panel in an item.
Primary panel in an item.
Primary panel in an item.
Secondary panel in an item.
Secondary panel in an item.
Primary panel in an item.
Primary panel in an item.
Primary panel in an item.
Code
Example | Element | Code |
---|---|---|
Default panel. |
Default Panel (no visual treatment). |
|
Primary panel. |
Primary Panel. |
|
Secondary panel. |
Secondary Panel. |
|
Icon Panel adds an icon, while also accepting the usual primary or secondary types. Question, Answer and Comment are common uses of this pattern; although any icon works. |
Question:
Answer:
Comment:
Question:
Answer:
Comment:
|
|
Icon-space Panel |
|