container
.container width:{Size? = null} \
height:{Size? = null} \
fullwidth:{Boolean = false} \
float:{Container.FloatAlignment? = null} \
fullspan:{Boolean = false} \
classname:{String? = null} \
foreground:{Color? = null} \
background:{Color? = null} \
border:{Color? = null} \
borderwidth:{Sizes? = null} \
borderstyle:{NodeStyle.BorderStyle? = null} \
alignment:{NodeStyle.Alignment? = null} \
textalignment:{NodeStyle.TextAlignment? = null} \
margin:{Sizes? = null} \
padding:{Sizes? = null} \
radius:{Sizes? = null} \
fontsize:{TextTransformData.Size? = null} \
fontweight:{TextTransformData.Weight? = null} \
fontstyle:{TextTransformData.Style? = null} \
fontvariant:{TextTransformData.Variant? = null} \
textdecoration:{TextTransformData.Decoration? = null} \
textcase:{TextTransformData.Case? = null} \
body:{MarkdownContent? = null}
-> NodeContent copied to clipboard
A general-purpose container that groups content.
Any active layout rules inherited by the parent (e.g. from align, row, column, grid) are reset inside this container.
Return
the new Container node
Parameters
width
- Optional
- Likely named
width of the container. No constraint if unset
height
- Optional
- Likely named
height of the container. No constraint if unset
fullwidth
whether the container should take up the full width of the parent. Overridden by width. False if unset
body
- Likely a body argument
- Optional
content to group
border
border color. Default if unset and borderwidth is set
borderwidth
border width. Default if unset and border is set
textcase