Product components

Product components

Product components

Add product components from the plugin’s Components screen. Bind their exposed fields to a product record; a CMS detail page does not automatically fill every property.

Product card

A product layout with images, category, name, and price.

Property

Type

Use

Product name / Product category

Text

Bind Product name / Category.

Image / Image hover

Image

Bind Image 1 / Image 2.

Product ID

Text

Bind the Swell Product ID.

Product price / Product sale price

Number

Bind Price / Sale price.

On sale

Toggle

Bind On sale.

Canvas and Preview

Shows bound CMS content or supplied defaults.

Published site

The native layout keeps its content bindings. Embedded price components can use runtime data where supported; verify the published domain. Product-page navigation is a Framer link.

Usage example

Place cards in a Products CMS collection list. Bind the fields above and link the repeated item to your product detail page using its native slug.

Product detail

A composed gallery, product-information, pricing, and purchase layout.

Property

Type

Use

Variant

Enum

Desktop image 1–6 or Phone Image 1–6.

Image 1–6

Image

Bind the matching CMS image fields.

Category / Product title / Description

Text

Bind Category / Product name / Description.

Product ID / Product variants

Text / JSON text

Bind Product ID / Product variants.

Price / Sale price / On sale

Number / Number / Toggle

Bind the corresponding price fields.

On tap / Click Add To Cart

Event

Optional exposed interactions.

Canvas and Preview

Shows the bound catalog snapshot. Gallery controls are image-state variants, not Grid, Carousel, or Thumbnails mode settings.

Published site

Purchase behavior uses the bound Product ID and runtime variant data. Titles and images remain bound content.

Usage example

Create a Products CMS detail page, insert Product detail, bind all fields, and select the matching desktop or phone starting variant. Test gallery navigation at both breakpoints and purchase behavior on the published site.

Product price

A composed regular and sale price display.

Property

Type

Use

Product ID

Text

Bind Product ID.

Price / Sale price

Number

Bind synced prices.

On sale

Toggle

Bind the sale state.

Canvas and Preview

Shows snapshot pricing for design.

Published site

Runtime support depends on the embedded price component and host. Some pricing modules use snapshot values on framer.website domains. Do not assume every displayed price is live.

Usage example

Bind Product ID, Price, Sale price, and On sale on the Prices layout. Compare its published values with Swell, including a sale product.

Variant selector

A supplied variant picker with purchase controls built in.

Property

Type

Use

Product ID

Text

Bind Product ID.

Product variants

JSON text

Bind Product variants for snapshot options.

Click

Event

Optional exposed interaction.

Canvas and Preview

Uses supplied variant option data for layout; inner code controls can have their own styling properties.

Published site

Fetches purchase and variant information for the bound product. Use the same Product ID for related purchase components.

Usage example

Bind Product ID and Product variants on a Products detail page. Check a multi-option product and add its selected variant to the published cart. Do not add another purchase button unless your layout requires one.

Purchase button

A separate add-to-cart control for a bound product.

Property

Type

Use

Product ID

Text

Bind the product’s Swell ID.

Click

Event

Optional exposed interaction.

Canvas and Preview

Displays a design state; it does not prove the published runtime can purchase.

Published site

Uses the product and current variant selection. Products requiring options need a valid selection.

Usage example

Use it for a custom product layout with the same Product ID as your variant controls. Confirm the cart contains the intended product, option, and quantity on the published site.