ProductSpecificationsSelector
Renders the stack of variant/filter selector fields for a product so a
product configuration can be refined interactively.
The component renders only the field stack - no card, heading, or CTA
chrome. Compose those around it (a Card, your own title) when a surface
calls for a titled panel.
Usage
Best practices
Drive it as a controlled component: it renders from
filtersand emitsonFilterChange(key, value)- it holds no internal filter state, so persist the value and feed it back.It renders nothing when there are no
variantOptionsdimensions and nosiblingswith images - supplysiblings/siblingsWithAttributesso single-colourway products still show a fallback thumbnail.Pass
renderImage(wrappingnext/image) in Next.js; the default is a plain<img>. The component ships bare - wrap it in aCardwith your own heading when a panel is wanted.
Props
Also exports
- interface
ImageRenderProps - interface
ProductSpecificationsSelectorProps
Composition
Builds on