@extends('layouts.vertical', ['subtitle' => 'Offcanvas']) @section('content') @include('layouts.partials/page-title', ['title' => 'Base UI', 'subtitle' => 'Offcanvas'])
You can use a link with the href attribute, or a button with the data-bs-target
attribute.
In both cases, the data-bs-toggle="offcanvas" is required.
Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc.
Scrolling the <body> element is disabled when an offcanvas and its backdrop are
visible.
Use the data-bs-scroll attribute to toggle <body> scrolling and
data-bs-backdrop to toggle the backdrop.
Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc.
Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc.
Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc.
Try the top, right, bottom and left examples out below.
.offcanvas-top places offcanvas on the top of the viewport.offcanvas-end places offcanvas on the right of the viewport.offcanvas-bottom places offcanvas on the bottom of the viewport.offcanvas-start places offcanvas on the left of the viewportSome text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc.
Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc.
Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc.
Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc.