Drawers
Drawers are panels that slide in from the left or right edge of the screen. The cart drawer and the search drawer both use this component.
Drawers are slide-in panels that appear from the left or right edge of the screen without navigating away from the current page. This theme uses drawers for two core interactions:
Cart drawer: Opens when a customer adds a product to their cart, letting them review and edit their cart without leaving the page they're on.

Search drawer: Opens when a customer clicks the search icon, displaying a full search input and results in a focused panel.

Settings here apply globally to both drawers. If you want a different look for a specific drawer, you can override these defaults from that drawer's individual settings.
1. Heading
Controls the text style of drawer headings like "Your Cart" or "Search.".
Sets the text style for the drawer heading. Each style applies a predefined combination of font, size, weight, and letter spacing from your theme's typography settings.

2. Position
Controls whether the drawer slides in from the right or left side of the screen. Most stores use Right.
3. Close button
Controls the appearance of the close button inside the drawer. A well-placed, clearly visible close button reduces friction. Customers should never have to hunt for a way out.

Style
Classic
Boxed
Classic is an X icon with no container.
Boxed places it inside a small bordered box.
Box style
Fill
Outline
Fill adds a solid background behind the close icon.
Outline shows only the border.
Only available when Style is set to Boxed.
4. Style
Controls the visual treatment of the drawer panel and the backdrop behind it. The corner radius, backdrop, and display effect work together to set the overall tone, whether that's sharp and minimal, soft and layered, or something in between.

Corner radius
Main corner
Small
Extra small
None
Custom
Controls how rounded the corners of the drawer panel are.
Main corner matches the global corner radius set in your theme.
Small and Extra small inherit from the main corner value and scale it down proportionally for a subtler effect.
None removes rounding entirely for a sharp, full-bleed look.
Custom lets you set a precise value to match a specific design.
Backdrop color style
Solid
Gradient
Solid is a flat dimmed overlay.
Gradient fades directionally and can look more refined on image-heavy pages.
Color code
Hex with alpha
Sets the overlay color and opacity.
Lower alpha values are subtler
Higher values focus attention on the drawer.
Display effect
Slide
Fade
Slide moves the panel in from the side
Fade appears in place.
Slide is more conventional; Fade can feel more immersive.
5. Spacing
Controls the space around and inside the drawer panel. Getting this right makes the drawer feel intentional.

Padding
The space between the drawer's edges and its content.
More padding gives the content room to breathe and makes the drawer feel more considered.
Less padding maximizes the space available for content, useful for the cart drawer where product lines need room.
Margin
The gap between the drawer panel and the screen edge. Adding margin makes the drawer feel like a floating panel rather than a full-edge sheet, which can soften the overall experience.
Last updated