Sidebar

Overview
A configurable sidebar overlay component that can slide in from either the left or right side of the screen. Creates a responsive sidebar drawer with customizable styling, positioning, and content.
Common use cases
Provide a unique overlay_id for each sidebar instance
Use the visibility settings to control display on different device sizes
Consider user experience when configuring close button visibility
Create navigation menus, filters, or supplementary content panels
Compatible blocks
The following blocks can be nested within this block:
Block settings
General
Show advanced settings
Reveals 6 advanced options including show close button, type, and more
Checkbox (default: false)
Content
Overlay preset
Select a preset overlay ID or use a custom one
• Account • Search • Menu • Primary cart • Alternative cart • Quick buy • Quick edit • Custom (default)
Overlay ID
Custom identifier for the overlay (used to trigger it programmatically)
Text input Visible when overlay preset is "Custom"
Show close button
Displays a close button in the sidebar
Checkbox (default: false) Visible when Show advanced settings is on
Color
Type
Custom scheme vs preset surface colors
• Custom • Base (default)
Visible when Show advanced settings is on and Enable inheritance is off
Color scheme
Background and text pairing
Color scheme picker Visible when type is Custom, Show advanced settings is on, and Enable inheritance is off
Color scheme
Background and text pairing
• Body background (default) • Body foreground • Accent 1–3 • Shade 1–3 • Blur • Transparent
Visible when type is Base, Show advanced settings is on, and Enable inheritance is off
Border color
Sidebar border
• Subtle (default) • Strong • None
Visible when Show advanced settings is on, type is Base, and Enable inheritance is off
Enable inheritance
Inherit colors from the closest parent with a set scheme
Checkbox (default: false) Visible when Show advanced settings is on
Layout
Horizontal position
Position of the sidebar along the horizontal axis
• Left • Right (default)
Display
Visibility
Controls when the block is visible
• All (default) • Mobile only • Desktop only
Visible when Show advanced settings is on
Last updated
Was this helpful?