Stack API
Demos
For examples and details on the usage of this React component, visit the component demo pages:
Import
import Stack from '@mui/material/Stack';
// or
import { Stack } from '@mui/material';
Props of the native component are also available.
As a CSS utility, the Stack component also supports allsystem
properties. You can use them as props directly on the component.The
ref
is forwarded to the root element.Theme default props
You can use MuiStack
to change the default props of this component with the theme.