# Collapse Sider Use `collapsed` prop to control status of sider. Sider has two `collapse-mode`: `width`, `transform`. `width` will actually change width of sider, `transform` will just move sider out of layout. Use `collapsed-width` and `width` to set sider's width. ```html Cool Header Cool Sider Content Footer Cool Header Sider Content ``` ```js import mdContacts from 'naive-ui/lib/icons/md-contacts' export default { components: { mdContacts }, data () { return { activeMenuItemName: null, collapsed: true } } } ```