Skip to content

Components overview

Framerce provides atomic components that each handle one piece of store functionality. You own the styling — compose them on the Framer canvas using slots, property controls, and layout tools.

Component categories

Product

Display product data from Shopify. All product components read from a shared product context.

ComponentPurpose
FmProductPriceFormatted price for the active market currency
FmProductComparePriceCompare-at (strikethrough) price for items on sale
FmProductDiscountDiscount amount or percentage
FmProductVariantsVariant option picker (size, color, etc.)
FmProductVariantLabelDisplays the selected variant option name
FmProductStockStateVisibility toggle based on stock status (in stock, low stock, out of stock)
FmProductInventoryNumeric inventory count
FmRestockEstimateEstimated restock date for out-of-stock items
FmDeliveryEstimateEstimated delivery date

Cart

Manage cart state and display line items. Line item components must be nested inside FmCartItemList.

ComponentPurpose
FmCartAddButtonAdd to cart with loading and sold-out states
FmCartItemButtonLine item action button
FmCartItemListRepeats children for each cart line item
FmCartItemLine item wrapper
FmCartItemImageLine item product image
FmCartItemTitleLine item product title
FmCartItemPriceLine item price (unit price × quantity)
FmCartItemQuantityQuantity adjuster (+/−)
FmCartItemVariantSelected variant display (e.g., "Size: M, Color: Blue")
FmCartCheckoutCheckout button — redirects to Shopify checkout
FmCartSubtotalCart total price
FmCartCounterNumber of items in the cart
FmCartQuantityButtonIncrement/decrement quantity button
FmCartQuantityDisplayCurrent quantity display
FmCartClearClear all cart items
FmCartTriggerOpens/closes the cart drawer
FmCartStateVisibility toggle based on cart state (empty, has items)
FmCartQuickAddOne-click add to cart for simple products

Catalog

Browse, search, filter, and sort products from Shopify collections.

ComponentPurpose
FmCatalogProduct grid from a Shopify collection
FmCatalogCollectionCollection-level wrapper
FmCatalogItemSingle product card within a catalog
FmCatalogSortSort dropdown (price, title, best-selling, newest)
FmCatalogSearchSearch input for filtering products
FmCatalogSearchResultsDisplays search results
FmCatalogSearchLinkLink to search results page
FmCatalogFilterFilter by product options or tags
FmCatalogFilterCountNumber of matching products for a filter
FmCatalogFilterResetClear all active filters
FmCatalogActiveFiltersList of currently applied filters
FmCatalogActiveFilterLabelLabel for an active filter
FmCatalogActiveFilterRemoveRemove a single active filter
FmCatalogActiveFilterStateVisibility toggle based on filter state
FmCatalogFavoriteButtonToggle favorite on a product
FmCatalogFavoritesList of favorited products
FmCatalogResultCountNumber of products matching current filters

Market

International pricing and currency switching via Shopify Markets.

ComponentPurpose
FmMarketSelectCountry/market dropdown switcher
FmMarketPickerMarket picker with expanded display
FmMarketListLists available markets
FmMarketLabelDisplays the active market name
FmMarketFlagFlag icon for the active market

Property controls

Every component exposes Framer property controls — configurable directly from the design panel. Common controls include:

  • Visibility — Show/hide based on state (e.g., hide price when unavailable)
  • Formatting — Currency format, text truncation, image aspect ratio
  • Slots — Accept children for custom layout composition

Context system

Connect a product handle or market once, and every child component updates automatically. Components read from shared contexts:

  • Product context — Set by connecting a product handle; all product components inherit it
  • Cart line item context — Set by FmCartItemList; line item components get the current item
  • Catalog context — Set by FmCatalog; filter, sort, and search components coordinate through it
  • Market context — Global; set by FmMarketSelect or auto-detected from visitor location

See Layout & Slots for composition patterns using these contexts.

Released under the MIT License.