Skip to content
+

Stack

API docs for the Toolpad Studio Stack component.

The Material UI Stack component.

Properties

Name Type Default Description
direction string "row" The flex layout direction.
alignItems string "start" The flex layout align items.
justifyContent string "start" The flex layout justify content.
gap number 2 The gap between children.
margin number The margin around the component.
children element The content of the component.
sx object The sx prop is used for defining custom styles that have access to the theme. All MUI System properties are available via the sx prop. In addition, the sx prop allows you to specify any other CSS rules you may need.