Custom Offcanvas Components

Offcanvas Top Component

Top Offcanvas

This is an offcanvas panel that slides from the top of the page.

This is an offcanvas panel that slides from the top of the page.

This is an offcanvas panel that slides from the top of the page.

This is an offcanvas panel that slides from the top of the page.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

<div class="button-group"> <button class="btn btn-gradient" data-toggle="offcanvas" data-target="#offcanvasTop"> Open Top Offcanvas </button> </div> <div class="offcanvas offcanvas--top" id="offcanvasTop"> <div class="offcanvas__header"> <h2 class="offcanvas__title">Top Offcanvas</h2> <button class="offcanvas__close" data-dismiss="offcanvas"> <i data-lucide="x"></i> </button> </div> <div class="offcanvas__body"> <p>This is an offcanvas panel that slides from the top of the page.</p> <p>This is an offcanvas panel that slides from the top of the page.</p> <p>This is an offcanvas panel that slides from the top of the page.</p> <p>This is an offcanvas panel that slides from the top of the page.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> </div> <div class="offcanvas__footer"> <button class="btn btn-gradient">Reset</button> <button class="btn btn-gradient">Submit</button> </div> </div> <div class="offcanvas-backdrop"></div>

Offcanvas Right Component

Right Offcanvas

This is an offcanvas panel that slides from the right side of the page.

This is an offcanvas panel that slides from the right side of the page.

This is an offcanvas panel that slides from the right side of the page.

This is an offcanvas panel that slides from the right side of the page.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

<div class="button-group"> <button class="btn btn-gradient" data-toggle="offcanvas" data-target="#offcanvasRight"> Open Right Offcanvas </button> </div> <div class="offcanvas offcanvas--right" id="offcanvasRight"> <div class="offcanvas__header"> <h2 class="offcanvas__title">Right Offcanvas</h2> <button class="offcanvas__close" data-dismiss="offcanvas"> <i data-lucide="x"></i> </button> </div> <div class="offcanvas__body"> <p>This is an offcanvas panel that slides from the right side of the page.</p> <p>This is an offcanvas panel that slides from the right side of the page.</p> <p>This is an offcanvas panel that slides from the right side of the page.</p> <p>This is an offcanvas panel that slides from the right side of the page.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> </div> <div class="offcanvas__footer"> <button class="btn btn-gradient">Reset</button> <button class="btn btn-gradient">Submit</button> </div> </div> <div class="offcanvas-backdrop"></div>

Offcanvas Bottom Component

Bottom Offcanvas

This is an offcanvas panel that slides from the bottom of the page.

This is an offcanvas panel that slides from the bottom of the page.

This is an offcanvas panel that slides from the bottom of the page.

This is an offcanvas panel that slides from the bottom of the page.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

<div class="button-group"> <button class="btn btn-gradient" data-toggle="offcanvas" data-target="#offcanvasBottom"> Open Bottom Offcanvas </button> </div> <div class="offcanvas offcanvas--bottom" id="offcanvasBottom"> <div class="offcanvas__header"> <h2 class="offcanvas__title">Bottom Offcanvas</h2> <button class="offcanvas__close" data-dismiss="offcanvas"> <i data-lucide="x"></i> </button> </div> <div class="offcanvas__body"> <p>This is an offcanvas panel that slides from the bottom of the page.</p> <p>This is an offcanvas panel that slides from the bottom of the page.</p> <p>This is an offcanvas panel that slides from the bottom of the page.</p> <p>This is an offcanvas panel that slides from the bottom of the page.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> </div> <div class="offcanvas__footer"> <button class="btn btn-gradient">Reset</button> <button class="btn btn-gradient">Submit</button> </div> </div> <div class="offcanvas-backdrop"></div>

Offcanvas Left Component

Left Offcanvas

This is an offcanvas panel that slides from the left side of the page.

This is an offcanvas panel that slides from the left side of the page.

This is an offcanvas panel that slides from the left side of the page.

This is an offcanvas panel that slides from the left side of the page.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

Click the X button or anywhere outside the panel to close it.

<div class="button-group"> <button class="btn btn-gradient" data-toggle="offcanvas" data-target="#offcanvasLeft"> Open Left Offcanvas </button> </div> <div class="offcanvas offcanvas--left" id="offcanvasLeft"> <div class="offcanvas__header"> <h2 class="offcanvas__title">Left Offcanvas</h2> <button class="offcanvas__close" data-dismiss="offcanvas"> <i data-lucide="x"></i> </button> </div> <div class="offcanvas__body"> <p>This is an offcanvas panel that slides from the left side of the page.</p> <p>This is an offcanvas panel that slides from the left side of the page.</p> <p>This is an offcanvas panel that slides from the left side of the page.</p> <p>This is an offcanvas panel that slides from the left side of the page.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> <p>Click the X button or anywhere outside the panel to close it.</p> </div> <div class="offcanvas__footer"> <button class="btn btn-gradient">Reset</button> <button class="btn btn-gradient">Submit</button> </div> </div> <div class="offcanvas-backdrop"></div>