LogoClawIndex
CasesSkillsAbout
LogoClawIndex

hydrogen-variant-form - Build Shopify Hydrogen variant selection forms

Guides building, modifying, and reviewing Hydrogen product option selectors, variant pickers, and add-to-cart forms.

Tags

Updated: 2026-11-25

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Compute option availability
  • Validate option selections
  • Resolve cached variants
  • Track cart errors
  • Register form fields
  • Delegate cart submission
  • Hydrate product data
  • Apply framework bindings

Inputs

  • Shopify product data
  • CartStore instance
  • Selected option values
  • SubmitEvent
  • Framework reference files

Outputs

  • Option state grid
  • Selected variant state
  • Variant selection result
  • Registered form props
  • Matched cart line item
  • Reactive cart errors
  • Cart submission

Requirements

  • @shopify/hydrogen
  • Shopify Storefront API product data
  • CartStore instance
  • Framework router when applicable

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
Shopify Hydrogen
product variants
product forms
option selectors
add to cart
cart state
Compute option availability
Validate option selections
Resolve cached variants
Track cart errors
Shopify product data
CartStore instance
Selected option values
Option state grid
Selected variant state
Variant selection result