Parent-child layout
Parent-childLayout provides a parent content area alongside a dependent child content area and responsively stacks them at a given breakpoint. It is used for interactions where selection in the parent (master) determines detail displayed in the child, such as navigation for a preferences dialog.
| Salt package | @salt-ds/core |
|---|---|
| Available since | 1.25.0 |
- To organize content into two areas: a larger area, and a smaller area that controls the larger area.
- To position more than two layout items along a single dimension. Instead, use
FlexLayout,FlowLayout,StackLayoutorSplitLayoutdepending on how you want to position them. - To position more than two layout items in a grid. Instead, use
GridLayout.
To import ParentChildLayout from the core Salt package, use: