Size Guide Table

Size Guide

Measurements are in inches. For the best fit, measure yourself and compare with the chart below.

Sizechest (in)waist (in)hips (in)length (in)
XS32-3426-2834-3626
S34-3628-3036-3827
M38-4032-3440-4228
L42-4436-3844-4629
XL46-4840-4248-5030
About this block

Size Guide TableFREE

Measurement chart table with chest, waist, hips, and length columns. Perfect for clothing product pages and sizing reference.

Ecommerce11: Size Guide Table

Measurement chart for clothing product pages: a titled table whose columns (chest, waist, hips, length, or any other fields you pass) are derived from your data rather than hardcoded, with zebra-striped rows and a unit suffix on each header.

Free block

This block is free. No license or account is required: install it with the CLI and use it in unlimited projects.

Installation

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/ecommerce11"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/ecommerce11"

This installs the block to components/beste/block/ecommerce11.tsx and the Table shadcn/ui primitive it uses.

Quick start

The installed file exports ecommerce11Demo alongside the block: the exact props behind the preview above. Spread it to get a working size table in one line.

tsx
import { Ecommerce11, ecommerce11Demo } from "@/components/beste/block/ecommerce11";

export default function ProductPage() {
  return <Ecommerce11 {...ecommerce11Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Ecommerce11 } from "@/components/beste/block/ecommerce11";

export default function ProductPage() {
  return (
    <Ecommerce11
      heading="Size Guide"
      description="Measurements are in centimeters."
      unit="cm"
      sizes={[
        { size: "S", chest: "86-91", waist: "71-76" },
        { size: "M", chest: "97-102", waist: "81-86" },
        { size: "L", chest: "107-112", waist: "91-96" },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
headingstringSection heading above the table
descriptionstringSupporting text under the heading
unit"in" | "cm""in"Suffix appended to each measurement column header
sizesSizeRow[][]Table rows, one per size
classNamestringExtra classes for the outer <section>
ts
type SizeRow = {
  size: string;
  chest?: string;
  waist?: string;
  hips?: string;
  length?: string;
};

Behavior notes

  • Table columns are computed at render time from Object.keys(sizes[0]) (excluding size), not hardcoded to chest/waist/hips/length; the column set follows whichever fields the first row happens to have, so a later row with an extra field the first row lacks won't get a column at all.
  • unit is purely a label suffix appended to each column header (e.g. "Chest (in)"); the component does not convert or recompute the underlying numeric values between inches and centimeters.
  • Rows alternate bg-background and bg-muted/30 by index for zebra striping, inside the shadcn Table primitive.
  • A missing value for a given column on a given row renders a literal "-" rather than a blank cell.
  • Each row is keyed by row.size, so every size label passed into sizes must be unique.

More Ecommerce blocks

View all Ecommerce
PRO

ecommerce42

Interactive Size Guide

Clothing size selector with body measurement inputs, personalized fit scoring, and comprehensive size chart reference table. Perfect for apparel and footwear product pages.

PRO

ecommerce43

Product Information Tabs

Tabbed product details with description, feature list, specifications table, customer reviews with ratings, and shipping information. Perfect for comprehensive product pages with detailed information.

PRO

ecommerce14

Related Products Grid

Product recommendations grid with images, prices, and add to cart buttons. Perfect for cross-selling and upselling on product pages.

PRO

ecommerce26

Product Detail with Gallery

Product page with thumbnail image gallery, color swatches, size buttons, and feature icons. Perfect for premium product showcases.

PRO

ecommerce3

Shopping Cart with Summary

Cart page with item cards, quantity controls, and order summary with shipping calculation. Perfect for checkout flows and cart review pages.

FREE

ecommerce4

Shop by Category Grid

Product category browsing with image cards, product counts, and featured badges. Responsive grid layout with hover effects. Perfect for storefront navigation and collection showcases.