1# Pricing product toggle
2
3Pricing pages place a centered segmented toggle above the hero heading.
4It links to Warp Factories and Warp Agent, with the current view marked by
5`aria-current="page"` and a raised pill that slides between the two options.
6There is no separate pricing subnav or “Pricing for:” label. The toggle
7uses canonical links and introduces no pricing-switch telemetry.
8The toggle is 40px tall and up to 280px wide, with compact labels and a
93px inset around the sliding pill. It matches the footer status callout's
10soft 5% ink surface, fully rounded shape and 12px/20px mono labels. The
11selected option uses a raised surface with dark ink; other labels are muted.
12
13Both products use the shared centered Hero at headline scale. The product
14title and its description stay centered on desktop and narrow screens,
15using the repository's Azeret/Matter typography and semantic surface tokens.
16
17`PricingHeadlineProductSelector` retains its exported name for existing
18callers and renders the product-specific hero. `PricingProductSubnav` renders
19the shared toggle while retaining its exported name for compatibility.
20`selectedProduct` is controlled; the caller supplies
21`onProductChange`. `PricingProductExperience` owns URL history, `popstate`,
22document titles, structured data and mounted panels.
23
24Pass the current search-parameter record so `pricingProductHref` preserves
25campaign and click identifiers. Ordinary clicks switch the mounted panel;
26modified clicks follow real canonical URLs. Keyboard activation uses the
27native links. Switching focuses the newly active product link without
28scrolling and preserves billing selections. Pointer switching animates
29only the pill's transform; keyboard activation and reduced-motion users
30get an immediate state change. Product switching remains untracked.