Container
A layout container with visuals: border, background, corner radius, padding. UseRow / Column when you only need layout.
Signature
Attributes
Content
Container content is its child elements:Text for text.
Attribute elements
Runtime behavior
- Renders as a flex container;
Directionselectsflex-row/flex-col. Background="Card"uses the card background with blur;Transparenthas no background.Borderuses the theme border color.- Size comes from the parent layout / dashboard grid; there are no pixel width or height attributes.
Example
Gotchas
- Nesting several
Cardcontainers gives you a double background; useTransparentfor the inner one. Stretchmakes children fill the cross axis; text may be stretched wide, so pair it withAlign="Start"when needed.