--- title: Layout sidebar_label: Layout --- import { StoryWithControls } from '../../../src/components/StorybookWrapper'; # Layout Ant Design Layout component with configurable Sider, Header, Footer, and Content. ## Live Example ## Try It Edit the code below to experiment with the component: ```tsx live function Demo() { return (
Sidebar
Header Content Footer
); } ``` ## Content Only ```tsx live function ContentOnly() { return ( Application Header Main content area without a sidebar Footer Content ); } ``` ## Right Sidebar ```tsx live function RightSidebar() { return ( Header Content with right sidebar
Right Sidebar
); } ``` ## Props | Prop | Type | Default | Description | |------|------|---------|-------------| | `hasSider` | `boolean` | `false` | Whether the layout contains a Sider sub-component. | | `style` | `any` | `{"minHeight":200}` | - | ## Import ```tsx import { Layout } from '@superset/components'; ``` --- :::tip[Improve this page] This documentation is auto-generated from the component's Storybook story. Help improve it by [editing the story file](https://github.com/apache/superset/edit/master/superset-frontend/packages/superset-ui-core/src/components/Layout/Layout.stories.tsx). :::