A View is a generic container component. Its contents will always be their “natural” size, so this component can be useful in layout components (like Layout, Tiles, BlockStack, InlineStack) that would otherwise stretch their children to fit.


optional = ?

Name Type Description
inlinePadding? "xtight" | "tight" | "loose" | "xloose" Adjust the inline padding
blockPadding? "xtight" | "tight" | "loose" | "xloose" Adjust the block padding