Skip to content

Offcanvas

Offcanvas panels slide in from any edge of the screen and are perfect for menus, filters, carts and quick settings that should not take a whole page. The examples show the four placements, backdrop and scrolling options, a responsive panel and complete ready-to-use drawers.

1Basic offcanvas

A panel that slides in from the left edge, opened by a button.

Hello there

This secure community keeps complex tasks into simple steps on any device.

A fast plan turns data easy to understand at a fair price.

2Link as trigger

Any link with <code>href="#id"</code> and <code>data-bs-toggle="offcanvas"</code> can open the panel.

What is Brand name 3?

About Brand name 3

The new fast paperwork makes time back in your day at a fair price. Our mortgage advice brings data easy to understand from the very first day. The new expert agents brings complex tasks into simple steps in just a few clicks. This smart launch makes the whole team on the same page with friendly support.

Learn more

3End placement

<code>.offcanvas-end</code> slides the panel in from the right.

Details

This modern community connects you focused on what matters from the very first day.

4Top placement

<code>.offcanvas-top</code> drops a short panel from the top - good for announcements or a search bar.

Search everything

5Bottom placement

<code>.offcanvas-bottom</code> works like a mobile bottom sheet.

Bottom sheet

A secure process gives decisions quicker and clearer with friendly support.

6Body scrolling

<code>data-bs-scroll="true"</code> with <code>data-bs-backdrop="false"</code> keeps the page scrollable and clickable behind the panel.

Page stays usable

Scroll the page while this panel is open. Our property search keeps projects moving forward at a fair price.

7Scrolling with backdrop

<code>data-bs-scroll="true"</code> alone keeps page scrolling but dims the page.

Backdrop and scrolling

A powerful community turns time back in your day all year round.

8Static backdrop

<code>data-bs-backdrop="static"</code> only closes from the close button - for panels with unsaved input.

Unsaved changes

Clicking outside will not close this panel.

9Dark panel

Set <code>data-bs-theme="dark"</code> on the panel for a dark sidebar in a light page.

Night shift

A fast update makes data easy to understand on any device.

10Navigation menu

A side menu built with a flush list group, icons and a badge.

11Nested menu

Collapsible sub-menus inside the panel keep long navigation tidy.

12Filters panel

A filter sidebar with checkboxes, a price range that shows its value, a sort select and apply/reset buttons.

Filter results

Category

13Shopping cart

A cart drawer listing items with thumbnails, a subtotal and checkout buttons.

Your cart

  • Lake cottage
    Lake cottage
    Qty 1
    $436.00
  • Studio apartment
    Studio apartment
    Qty 1
    $126.50
  • Family house
    Family house
    Qty 1
    $382.00
Subtotal$944.50
Checkout

14Notifications panel

An activity feed in an end panel, with a header action to mark everything as read.

Notifications

The new neighbourhood guides keeps results you can measure with friendly support.

44 min ago

The new 3d tours shows new ideas to life without extra tools.

4 days ago

This fast story lets every detail in view on any device.

28 min ago

Our mortgage advice helps your work organised from the very first day.

5 days ago

15Profile panel

User card with avatar, stats and account links - typical for an avatar button in the header.

Profile

Noah Varga

Noah Varga

Customer Success - Edinburgh

8Projects
5.6kFollowers
101Reviews

16Settings panel

Quick settings with switches and a select; the footer buttons stay at the bottom.

Quick settings

17Responsive offcanvas

<code>.offcanvas-lg</code> is a slide-in panel below the lg breakpoint and plain inline content above it. Narrow the window to see the button.

Sidebar

Our property search gives time back in your day without extra tools.

18Contact form

A support form that slides in from the side, with a character counter on the message field.

How can we help?

0 / 400

19Share sheet

A short bottom panel with a grid of share actions, sized with an inline height.

20Chat panel

A support chat drawer: message bubbles in the body and an input pinned to the bottom.

Chat with Owen

Owen
Hi! I am Owen. How can I help today?
Do you offer mortgage advice?
Owen
This modern idea makes decisions quicker and clearer for teams of every size.