quick-view-modal

Implement product quick-view modals with variant selection and add-to-cart on listing pages.

3|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill quick-view-modal-tomtoto757
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: quick-view-modal
Source: https://github.com/tomtoto757/ecomm-ai-team/tree/main/skills/storefront-shopping-experience/finsilabs/storefront-ui/quick-view-modal
Command: npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill quick-view-modal-tomtoto757

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Shoppers often leave product listing pages to check details and never return, hurting conversion. This Skill implements a quick-view overlay that shows product images, variants, price, and an add-to-cart button directly on the listing page, reducing navigation friction. ## Core Features & Use Cases - Platform-Specific Setup: Step-by-step configuration for Shopify (Dawn Quick Add, Quick View app), WooCommerce (YITH Quick View), BigCommerce (Cornerstone theme), and custom/headless storefronts. - Accessible Modal Implementation: React components using the native <dialog> element with built-in focus trapping, Escape-to-close, backdrop-click dismissal, loading skeletons with aria-live, and focus return to the trigger button. - Variant Selection & Cart Integration: Variant pickers that disable out-of-stock options, update the displayed image per variant, and close the modal automatically after add-to-cart. - Use Case: A fashion retailer's shoppers bounce after navigating from the collection page to heavy product pages. Add a Quick View button to each product card so shoppers can pick a size and color and add to cart without leaving the listing. ## Quick Start Ask the AI to add a quick view modal with variant selection and add-to-cart to your product listing page for your platform, such as Shopify or a custom React storefront.

Frequently Asked Questions about quick-view-modal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a quick view button to product cards in React?▼

Add a button inside the product image wrapper that calls an onQuickView handler with the product ID. Position it absolutely over the image, hide it with opacity 0 by default, reveal it on hover or focus-within, and use a @media (hover: none) rule so it stays visible on touch devices.

How to enable quick view on Shopify, WooCommerce, or BigCommerce?▼

Shopify's Dawn theme includes a Quick Add button enabled in the theme customizer, or install the Quick View – Instant Preview app. WooCommerce uses the free YITH Quick View plugin. BigCommerce's Cornerstone theme has a built-in Quick View toggle under Product Cards settings.

Does the native HTML dialog element handle focus trapping?▼

Yes, the native <dialog> element opened with showModal() provides built-in focus trapping and Escape-to-close behavior. You should still store a reference to the trigger element and return focus to it via requestAnimationFrame after the modal closes.

Why does the page scroll behind my open modal on mobile?▼

The body element remains scrollable when the modal opens. Set overflow: hidden on the body while the modal is open and restore it on close, or apply overscroll-behavior: contain to the dialog to prevent background scrolling.

When should I not use a quick view modal?▼

Avoid quick view for products with three or more variant axes, size guides, or detailed specification tables, since these need the full product detail page. Detect such products and navigate directly to the PDP instead of opening the overlay.