Skip to content
Solais Labs

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

The venue is a short walk from the station and fully accessible.

The networking app helps you meet the right people before you arrive.

2Link as trigger

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

What is Solais Labs?

About Solais Labs

We keep things simple, so you can focus on what matters to you. Sponsors meet decision-makers in a relaxed, friendly setting. Early bird tickets save you up to forty percent until the end of the month. Friendly people answer your questions quickly, by phone, chat or email.

Learn more

3End placement

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

Details

More than eighty speakers share what they have learned the hard way.

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

Three days of keynotes, hands-on workshops and evening meetups.

6Body scrolling

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

Page stays usable

Scroll the page while this panel is open. We measure success by how many attendees come back and tell their friends.

7Scrolling with backdrop

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

Backdrop and scrolling

Every attendee receives a certificate of participation.

8Static backdrop

<code>data-ui-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-ui-theme="dark"</code> on the panel for a dark sidebar in a light page.

Night shift

Sponsors meet decision-makers in a relaxed, friendly setting.

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

  • Group bundle
    Group bundle
    Qty 1
    $1,950
  • Virtual pass
    Virtual pass
    Qty 1
    $93.00
  • VIP pass
    VIP pass
    Qty 1
    $818.00
Subtotal$2,861.00
Checkout

14Notifications panel

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

Notifications

Three days of keynotes, hands-on workshops and evening meetups.

yesterday

Early bird tickets save you up to forty percent until the end of the month.

15 hours ago

Thousands of attendees already trust us, and we work hard to keep it that way.

yesterday

Group tickets include a private meeting room for your team.

8 hours ago

15Profile panel

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

Profile

Lea Sato

Lea Sato

Product Designer - Vancouver

30Projects
776Followers
297Reviews

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

Friendly people answer your questions quickly, by phone, chat or email.

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 Leo

Leo
Hi! I am Leo. How can I help today?
Do you offer venue booking?
Leo
Our evening party is the best place to turn talks into friendships.