Back to blocks
BlockeCommerceFree

Size Guide Modal React component

A shoe product card with a size grid and a Size guide link that opens a modal with three tabs: a selectable US/UK/EU size chart in cm or inches, a Find my size tool that recommends a size from foot length and width, and an illustrated How to measure guide. Picking a size applies it to the product.

About the Size Guide Modal component

Size Guide Modal answers the most common question on a shoe or apparel page, which size to buy, without leaving the product. A Size guide link next to the size grid opens a modal with a full conversion chart, a quick size finder and simple measuring instructions.

Shoppers can pick a row in the chart or accept the finder's recommendation, and the size is applied to the product straight away. Fewer wrong sizes means fewer returns and more confident buyers.

When to use it

Use it on product pages for shoes, clothing, rings or anything else sold in sizes that vary between brands or regions.

If a product only comes in S, M and L and fits like everything else in your store, a one-line fit note under the sizes is enough.

Installation

Add the Size Guide Modal component to your project with the shadcn CLI. It lands in components/size-guide-modal.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/size-guide-modal

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Frequently Bought Together
Free
Sticky Add to Cart Bar
Free
Recently Viewed Products
Free
Write a Review Form
Free
Wishlist Drawer
Free
Photo Review Gallery
Free