Skip to content

Commit 1d78fa5

Browse files
committed
#6909 layout base
1 parent e2d3685 commit 1d78fa5

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

learn/guides/Layouts.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ layout: {
2424
}
2525
```
2626

27+
### The 'base' Layout (`ntype: 'base'`)
28+
29+
In scenarios where you prefer to manage the positioning and sizing of child components entirely through custom CSS or
30+
in-line styles, you can use the `'base'` layout. This layout type provides minimal interference, essentially acting as a
31+
pass-through, allowing you full control over the styling of your container's children.
32+
33+
When `ntype: 'base'` is used, the container will not apply any specific flexbox or grid-based layout rules to its children.
34+
This is useful for highly customized components or when integrating with external styling libraries.
35+
2736
### Common Layout Types
2837

2938
Neo.mjs provides several built-in layout types to cover a wide range of UI design needs. Here, we'll explore some of the

0 commit comments

Comments
 (0)