Design

Mobile menu, cart & filters

The mobile menu, the cart and a shop's filters are sheets: panels that slide over the page. Each has ten templates to start from, and each template is an ordinary page of widgets, so everything in it stays editable.

Using a template

  1. Open the Mobile Menu, Cart or Filters page in the builder.
  2. Pick a template from the row above the preview. The one in use is highlighted.
  3. Edit it like any page. Its structure shows in the Layers panel.

If your site has an aesthetic, the template takes your colours. Picking a template replaces the sheet, and Undo brings the last one back. Generating a design picks all three for you: the filters always match the cart, with the same template.

Mobile menu templates

TemplateWhat it looks like
GalleryEvery link a picture tile.
Clean listQuiet rows with dividers; account and help at the foot.
EditorialBig type on warm paper, like a magazine's contents page.
MidnightA dark sheet with numbered links and social icons.
Card stackRounded cards with small thumbnails, and a shop-all button.
Photo gridA two-column grid of square picture tiles.
Pill cloudA friendly question, and links as tappable pills.
After darkCentred, spaced capitals on black.
Brand bandA coloured welcome band, a plain list and two buttons.
WhisperAlmost nothing: thin rules and no arrows.

The menu lists your pages and catalogs. Categories, brands and collections open as dropdowns when you have more than one, and a header link with sub-links opens the same way.

Cart templates

Every line in every cart has a quantity control and a way to delete it. Templates differ in how they show them:

TemplateLinesQuantityDelete
ClassicRowsStepper× in the corner
Card stackCardsPillBin
EditorialPicture on topPlain text“Remove” link
MidnightCompact, darkPillBin
WhisperNo picturesPlain text×
BoutiqueLarge picture, coloured bandDropdown“Remove” link
ReceiptCompact, like a till slipBox“Remove” link
After darkDark cardsPill× in the corner
Pill cloudCards on a soft colourPillBin
SpaciousLarge pictureStepperBin

A dropdown offers quantities up to the stock available, to a maximum of ten. Steppers and pills stop at one and at the stock available.

Cart lines in code

The lines are a single element, cart-items, inside a ListView. Select it to change these in its properties, or set them in code:

Cards with a pill quantity and a bin
<ListView fillHeight>
  <cart-items
    layout="cards"
    quantity="pill"
    remove="trash"
    textColor="#111827"
    cardColor="#ffffff"
  />
</ListView>
PropWhat it setsValues
layoutHow each line is arrangedrows, cards, compact, large, stacked, minimal
quantityThe quantity controlstepper, pill, boxed, select, text
removeThe delete controlx, trash, text
textColor, mutedColorThe line's textAny colour
accentColor, lineColor, cardColorThe pill, the dividers and the cardsAny colour
fontSize, imageRadiusText size and picture cornersA number
emptyTextWhat an empty cart saysAny text

The cart heading, cart-title, also takes text for its label (“Your bag”), showIcon and uppercase.

Filter templates

On phones and tablets, the Filters button on the Products page opens the filter sheet: sort, then your categories, brands and collections, then a price range. A group your shop has nothing in is left out. Templates differ in how the options show and where the two buttons sit:

TemplateOptionsButtons
ClassicTicked boxesClear all beside Show results
Card stackChips on soft greySide by side, rounded
EditorialA tick on the right, ruled sectionsShow results over a “Clear all” link
MidnightChips on a dark sheetSide by side
WhisperRound markersClear all beside an outlined Show results
BoutiqueButtons, two to a row, under a coloured bandShow results over Clear all
ReceiptTicked boxes, ruled sectionsSide by side, in capitals
After darkChips on blackSide by side, in capitals
Pill cloudChips on a soft colourSide by side
SpaciousTicked boxes, larger typeSide by side

Show results applies what's chosen and closes the sheet. Clear all clears every filter and keeps the sheet open. The heading shows how many filters are on.

Filters in code

The options are a single element, filter-body, inside a ListView. Select it to change these in its properties, or set them in code:

Chips with bold headings and pill price fields, without brands
<ListView fillHeight>
  <filter-body
    layout="chips"
    headings="bold"
    price="pill"
    textColor="#111827"
    accentColor="#111827"
    hideBrands
  />
</ListView>
PropWhat it setsValues
layoutHow the options showlist, chips, buttons
markerThe tick, in a listsquare, round, check
headingsThe group headingscaps, bold, lined
priceThe price fieldsboxed, underline, pill
textColor, mutedColorThe text, and the headings and labelsAny colour
accentColor, lineColor, fieldColorWhat's chosen, the outlines and the fieldsAny colour
fontSize, radiusText size and cornersA number
hideSort, hideCategories, hideBrands, hideCollections, hidePriceLeave a group outOn or off
sortTitle, categoriesTitle, brandsTitle, collectionsTitle, priceTitleA group's headingAny text

The buttons are filter-buttons: action="reset" clears and action="apply" shows the results. They take a button's usual props, and fullWidth fills their share of the row:

Clear all and Show results, side by side
<Row className="gap-3">
  <filter-button action="reset" text="Clear all" fullWidth flexGrow={1} />
  <filter-button action="apply" text="Show results" fullWidth flexGrow={1} />
</Row>

The heading, filter-title, takes text for its label, uppercase, and countColor for the “2 active” line under it.