Skip to content

Commit 04adb19

Browse files
committed
Add note for minimum layout nesting.
1 parent 0427b6d commit 04adb19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/resources/ui/widgets/composing-widgets/rows-column-stack.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ depends on how you need to arrange your UI components:
3030

3131
![row-col-stack.png](../../imgs/row-col-stack.png)
3232

33+
:::tip[Minimum Layout Nesting]
34+
Use the minimum amount of rows/columns necessary to achieve your layout to avoid unnecessary complexity. No page or component should nest more than 10 levels deep. Reaching this limit likely signals the need for **[converting a part of the widget tree into components](../../components/creating-components.md#convert-into-a-component)**.
35+
:::
36+
3337
<!---TODO #### Choosing your parent widget
3438
link to quickstart for how to choose parent widget [Rows/Column/Stacks]
3539
with examples --->

0 commit comments

Comments
 (0)