2016-01-26 21:12:48 +03:00
---
layout: example
title: Drawer Template
group: material-design
---
2016-03-21 17:56:51 +03:00
< div class = "bmd-layout-container bmd-drawer-f-l bmd-drawer-overlay-md-down bmd-drawer-in-lg-up" >
< header class = "bmd-layout-header" >
2016-01-26 21:12:48 +03:00
< div class = "navbar navbar-light bg-faded" >
< button class = "navbar-toggler hidden-lg-up" type = "button" data-toggle = "drawer" data-target = "#dw-1" >
< span class = "sr-only" > Toggle drawer< / span >
< i class = "material-icons" > menu< / i >
< / button >
< ul class = "nav navbar-nav" >
< li class = "nav-item" > Title< / li >
< / ul >
< ul class = "nav navbar-nav pull-xs-right" >
< li class = "nav-item" >
2016-03-21 17:56:51 +03:00
< div class = "bmd-form-group bmd-collapse-inline pull-xs-right" >
< button class = "btn bmd-btn-icon" for = "search" data-toggle = "collapse" data-target = "#collapse-search-1" aria-controls = "collapse-search-1" >
2016-01-26 21:12:48 +03:00
< i class = "material-icons" > search< / i >
< / button >
< span id = "collapse-search-1" class = "collapse" >
< input class = "form-control" type = "text" id = "search" placeholder = "Enter your query..." >
< / span >
< / div >
< / li >
< li class = "nav-item" >
< div class = "dropdown" >
2016-03-21 17:56:51 +03:00
< button class = "btn bmd-btn-icon btn-secondary dropdown-toggle" type = "button" id = "more-menu-1" data-toggle = "dropdown" aria-haspopup = "true" >
2016-01-26 21:12:48 +03:00
< i class = "material-icons" > more_vert< / i >
< / button >
< div class = "dropdown-menu dropdown-menu-right" aria-labelledby = "more-menu-1" >
< button class = "dropdown-item" type = "button" > About< / button >
< button class = "dropdown-item" type = "button" > Contact< / button >
< button class = "dropdown-item" type = "button" > Legal information< / button >
< / div >
< / div >
< / li >
< / ul >
< / div >
< / header >
2016-03-21 17:56:51 +03:00
< div id = "dw-1" class = "bmd-layout-drawer bg-faded" >
2016-01-26 21:12:48 +03:00
< header >
< a class = "navbar-brand" > Title< / a >
< / header >
< ul class = "list-group" >
< a class = "list-group-item" >
< i class = "material-icons" role = "presentation" > home< / i > Home
< / a >
< a class = "list-group-item" >
< i class = "material-icons" role = "presentation" > inbox< / i > Inbox
< / a >
< a class = "list-group-item" >
< i class = "material-icons" role = "presentation" > delete< / i > Trash
< / a >
2016-03-21 17:56:51 +03:00
< li class = "bmd-layout-spacer" > < / li >
2016-01-26 21:12:48 +03:00
< a class = "list-group-item" >
< i class = "material-icons" role = "presentation" > help_outline< / i > < span class = "sr-only" > Help< / span >
< / a >
< / ul >
< / div >
2016-03-21 17:56:51 +03:00
< main class = "bmd-layout-content" >
2016-01-26 21:12:48 +03:00
< div class = "container" >
<!-- main content -->
< h2 > Responsive drawer template< / h2 >
< p class = "lead" > This template provides a push style drawer for large screens, but an overlay style drawer for smaller screens. For example, try viewing on an iPad in portrait vs. landscape.< / p >
< / div >
< / main >
< / div >