Commerce Variant Picker
Variant picker for technical apparel and footwear with a color, size and fabric matrix.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this block
What it's for
- Variant picker for technical apparel and footwear with a color, size and fabric matrix.
- Configurator for physical products with complex stock and finish combinations.
- Hardware or merchandise selection panel in an omnichannel retail checkout.
Includes
- Multi attribute selection
- Cross availability matrix
- Real time stock status
- Sku resolution
- Price modifier calculation
- Quantity stepper
- Backorder waitlist notification
- Size guide modal
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
agentic-ui add commerce-variant-pickernpx shadcn@4.17.0 add @agentic-ui/commerce-variant-pickerUsed in
A standalone component: drop it into any screen.
- Type
- Block
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- npm packages
lucide-react- Registry dependencies
- None
- Files
12 files
- components/agentic-ui/commerce-variant-picker/commerce-variant-picker.tsx
- components/agentic-ui/commerce-variant-picker/types.ts
- components/agentic-ui/commerce-variant-picker/components/error-state.tsx
- components/agentic-ui/commerce-variant-picker/components/empty-state.tsx
- components/agentic-ui/commerce-variant-picker/components/cross-availability-matrix-drawer.tsx
- components/agentic-ui/commerce-variant-picker/availability-engine.ts
- components/agentic-ui/commerce-variant-picker/components/size-guide-modal.tsx
- components/agentic-ui/commerce-variant-picker/components/variant-summary-card.tsx
- components/agentic-ui/commerce-variant-picker/components/availability-status-badge.tsx
- components/agentic-ui/commerce-variant-picker/components/material-selector-group.tsx
- components/agentic-ui/commerce-variant-picker/components/size-selector-group.tsx
- components/agentic-ui/commerce-variant-picker/components/color-swatch-group.tsx
Related components
Commerce Gift Card
Interface for buying and customizing digital gift cards with a dynamic preview and scheduled delivery.
Details and live previewCommerce Inventory Alerts
Inventory alerts panel for a retail warehouse with a reorder point per SKU and a demand forecast.
Details and live previewCommerce Loyalty Points
Rewards page of an online store with a points balance, coupon redemption and Bronze/Silver/Gold/Platinum tiers.
Details and live previewCommerce Wishlist
Wishlist panel in an online store with visual alerts for price drops and remaining stock.
Details and live preview