Offcanvas
Build hidden sidebars into your project for navigation, shopping carts, widgets etc.
Offcanvas components
Menu
<!-- Offcanvas. Remove .show class to hide offcanvas initially -->
<div class="offcanvas offcanvas-start show" id="offcanvas" tabindex="-1" aria-labelledby="offcanvasLabel">
<!-- Offcanvas header -->
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasLabel">Menu</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<!-- Offcanvas body -->
<div class="offcanvas-body pt-0">
<nav class="list-group list-group-borderless">
<a class="list-group-item list-group-item-action active" href="#" aria-current="page">
Home
</a>
<a class="list-group-item list-group-item-action" href="#">
User profile
</a>
<a class="list-group-item list-group-item-action" href="#">
Services
</a>
<a class="list-group-item list-group-item-action" href="#">
Our works
</a>
<a class="list-group-item list-group-item-action" href="#">
About
</a>
<a class="list-group-item list-group-item-action" href="#">
Our team
</a>
<a class="list-group-item list-group-item-action" href="#">
Dashboard
</a>
<a class="list-group-item list-group-item-action" href="#">
Contact
</a>
<a class="list-group-item list-group-item-action" href="#">
Help center
</a>
<a class="list-group-item list-group-item-action" href="#">
Support
</a>
</nav>
</div>
<!-- Offcanvas footer -->
<div class="offcanvas-header d-flex border-top">
<button type="button" class="btn btn-primary w-100 me-3">
<i class="fi-log-in fs-base ms-n1 me-2"></i>
Login
</button>
<button type="button" class="btn btn-outline-primary w-100">
<i class="fi-user ms-n1 me-2"></i>
Sign up
</button>
</div>
</div>
Placement
<!-- Left offcanvas toggle button -->
<button type="button" class="btn btn-outline-secondary" data-bs-toggle="offcanvas" data-bs-target="#offcanvasLeft" aria-controls="offcanvasLeft">
Toggle left offcanvas
</button>
<!-- Left offcanvas example -->
<div class="offcanvas offcanvas-start" id="offcanvasLeft" tabindex="-1" aria-labelledby="offcanvasLeftLabel">
<div class="offcanvas-header border-bottom">
<h5 class="offcanvas-title" id="offcanvasLeftLabel">Left offcanvas</h5>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<p>Content for the offcanvas goes here. You can place just about any Bootstrap or Finder component or custom elements here.</p>
</div>
</div>
<!-- Top offcanvas toggle button -->
<button type="button" class="btn btn-outline-secondary" data-bs-toggle="offcanvas" data-bs-target="#offcanvasTop" aria-controls="offcanvasTop">
Toggle top offcanvas
</button>
<!-- Top offcanvas example -->
<div class="offcanvas offcanvas-top" id="offcanvasTop" tabindex="-1" aria-labelledby="offcanvasTopLabel">
<div class="offcanvas-header border-bottom">
<h5 class="offcanvas-title" id="offcanvasTopLabel">Top offcanvas</h5>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<p>Content for the offcanvas goes here. You can place just about any Bootstrap or Finder component or custom elements here.</p>
</div>
</div>
<!-- Right offcanvas toggle button -->
<button type="button" class="btn btn-outline-secondary" data-bs-toggle="offcanvas" data-bs-target="#offcanvasRight" aria-controls="offcanvasRight">
Toggle right offcanvas
</button>
<!-- Right offcanvas example -->
<div class="offcanvas offcanvas-end" id="offcanvasRight" tabindex="-1" aria-labelledby="offcanvasRightLabel">
<div class="offcanvas-header border-bottom">
<h5 class="offcanvas-title" id="offcanvasRightLabel">Right offcanvas</h5>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<p>Content for the offcanvas goes here. You can place just about any Bootstrap or Finder component or custom elements here.</p>
</div>
</div>
<!-- Bottom offcanvas toggle button -->
<button type="button" class="btn btn-outline-secondary" data-bs-toggle="offcanvas" data-bs-target="#offcanvasBottom" aria-controls="offcanvasBottom">
Toggle bottom offcanvas
</button>
<!-- Bottom offcanvas example -->
<div class="offcanvas offcanvas-bottom" id="offcanvasBottom" tabindex="-1" aria-labelledby="offcanvasBottomLabel">
<div class="offcanvas-header border-bottom">
<h5 class="offcanvas-title" id="offcanvasBottomLabel">Bottom offcanvas</h5>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<p>Content for the offcanvas goes here. You can place just about any Bootstrap or Finder component or custom elements here.</p>
</div>
</div>