Theme Playground

Commerce

QuickView

Fast product preview for listing pages with imagery, pricing, and action slots. Opens as a sheet or modal without navigating away from the grid.

Best for

PLP quick-preview flowswishlist previewsmerchandising cards with add-to-cart

Import

import { QuickView } from "@enadhq/enad-react-sdk/client/storefront"

When to use it

Use QuickView on product listing pages when visitors should be able to preview a product's key details and add it to the cart without navigating away from the grid. It keeps browsing momentum high by showing imagery, pricing, and an action slot in a side panel or modal.

If the visitor needs the full product experience (all variants, reviews, specifications), link to the PDP instead.

Composition notes

QuickView is a controlled overlay with a product data prop and a children action slot:

  • open and onOpenChange manage the panel visibility.
  • product takes a QuickViewProduct object with title, price (ReactNode), description, images, and optional href (link to full PDP).
  • children is the action slot rendered below the product details. Pass add-to-cart buttons, variant selectors, or save/wishlist controls.
  • mode (where supported) switches between sheet (default) and modal presentation.
  • useOverlayController is the recommended helper when a listing trigger needs to keep the selected payload and the open state together.

Behavior and theming guidance

The default sheet mode slides in from the right and preserves the visitor's scroll position on the listing page. The modal mode centers the preview and dims the background, which creates more focus but interrupts browsing flow.

The product image gallery is rendered from the images array. If the product has an href, the title becomes a link to the full PDP for visitors who want more details.

Examples

Live examples you can edit directly in the sandbox.

2 examples

Sheet quick view

A side sheet works well when you want to preserve the page context and keep scrolling position intact.

Modal quick view

A centered modal is a better fit when the preview should feel more interruptive and focused.

Component Sets

Preview the first example across the available component-set presets to compare tone, spacing, and structural defaults.

Props

PropTypeDefaultDescription
openboolean
No description yet.
onOpenChange(open: boolean) => void
No description yet.
productstring
No description yet.
modestringsheet
Presentation mode
sidestringright
Side when mode is "sheet"
childrenstring
Slot for variant selector, add-to-cart, wishlist, etc.
viewDetailsLabelstringView full details
Link label for "View full details"
classNamestring
No description yet.