Skip to content

Product Discovery styles

Customize the Product Discovery drop-in using CSS classes and design tokens. This page covers the Product Discovery-specific container classes and customization examples. For comprehensive information about design tokens, responsive breakpoints, and styling best practices, see Styling Drop-In Components.

Version: 2.1.0

Customization example

Add this to the CSS file of the specific commerce block where you’re using the Product Discovery drop-in.

For a complete list of available design tokens (colors, spacing, typography, etc.), see the Design tokens reference.

.product-discovery-facet {
padding-block: var(--spacing-small);
padding-block: var(--spacing-medium);
}

Container classes

The Product Discovery drop-in uses BEM-style class naming. Use the browser DevTools to inspect elements and find specific class names.

/* Facet */
.dropin-price--bold {}
.dropin-price--small {}
.dropin-price-range {}
.dropin-radio-button__label {}
.product-discovery-facet {}
.product-discovery-facet--last {}
.product-discovery-facet__bucket {}
.product-discovery-facet__header {}
/* FacetList */
.dropin-divider {}
.dropin-price--bold {}
.dropin-price--small {}
.dropin-price-range {}
.dropin-radio-button {}
.product-discovery-facet-list {}
.product-discovery-facet-list__facet-options {}
.product-discovery-facet-list__facet-options--hidden {}
.product-discovery-facet-list__selected-filters {}
/* ProductList */
.dropin-product-item-card {}
.dropin-product-item-card__skeleton__image {}
.product-discovery-product-list {}
.product-discovery-product-list__container {}
.product-discovery-product-list__grid {}
/* SearchAlertMessage */
.product-discovery-search-alert-message {}
.product-discovery-search-alert-message__content {}
.product-discovery-search-alert-message__wrapper {}