--- order: 2 title: zh-CN: 顶部-侧边布局 en-US: Header-Sider --- ## zh-CN 多用在同时拥有顶部导航及侧边栏的页面。 ## en-US Be used in the page which has both the top navigation and the sidebar. ````__react import { Layout, Menu, Breadcrumb, Icon } from 'antd'; const { SubMenu } = Menu; const { Header, Content, Footer, Sider } = Layout; ReactDOM.render(
nav 1 nav 2 nav 3
Home List App subnav 1}> option1 option2 option3 option4 subnav 2}> option5 option6 option7 option8 subnav 3}> option9 option10 option11 option12 Content
, mountNode); ```` ````css #components-layout-demo-top-side .logo { width: 120px; height: 31px; background: #333; border-radius: 6px; margin: 16px 28px 16px 0; float: left; } ````