Quick start guide and documentation
Off-canvas panels are fixed-position surfaces that slide in from any edge of the viewport. Perfect for:
Most common for mobile menus
Perfect for shopping carts and secondary actions
Good for notification centers and announcements
Mobile-friendly filters and options
| Class | Purpose |
|---|---|
.off-canvas | Base class for all panels |
.off-canvas-left | Slides from left edge |
.off-canvas-right | Slides from right edge |
.off-canvas-top | Slides from top edge |
.off-canvas-bottom | Slides from bottom edge |
.off-canvas-header | Panel header section |
.off-canvas-body | Scrollable content area |
.off-canvas-close | Close button styling |
.off-canvas-overlay | Background overlay |
| Function | Purpose |
|---|---|
toggleOffCanvas('id') | Open/close specific panel by ID |
closeAllOffCanvas() | Close all open panels |
.off-canvas-body for long listsRSL Off-Canvas panels include accessibility features: