Stall
$0forever
For a first season at the market.
- 50 orders a month
- One person
- Printable labels
- No courier tracking
The pricing table sets the plans side by side: a card each with the name, the price as the largest thing on it, who it is for, one button, and what is included. One plan is yellow.
$0forever
For a first season at the market.
$29a month
For a farm that ships every day.
$79a month
For several farms under one roof.
Counter and its plans are invented for these examples.
<div class="tray-demo tray-demo--col">
<div data-tray="pricing">
<div class="tray-plans__bar">
<div class="tray-seg" role="radiogroup" aria-label="Billing period">
<label class="tray-seg__item"><input type="radio" name="period" value="monthly" checked><span>Monthly</span></label>
<label class="tray-seg__item"><input type="radio" name="period" value="yearly"><span>Yearly</span></label>
</div>
<span class="tray-badge">Two months free on yearly</span>
</div>
<div class="tray-plans">
<article class="tray-card tray-plan">
<div class="tray-plan__head">
<h3 class="tray-plan__name">Stall</h3>
<p class="tray-plan__price"><span>$0</span><small>forever</small></p>
<p class="tray-plan__text">For a first season at the market.</p>
</div>
<a class="tray-btn tray-btn--quiet tray-btn--md" href="#">Start free</a>
<ul class="tray-ticks">
<li><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-check"/></svg>50 orders a month</li>
<li><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-check"/></svg>One person</li>
<li><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-check"/></svg>Printable labels</li>
<li data-off><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-minus"/></svg>No courier tracking</li>
</ul>
</article>
<article class="tray-card tray-card--accent tray-plan">
<div class="tray-plan__head">
<h3 class="tray-plan__name">Shop <span class="tray-badge tray-badge--ink">Most chosen</span></h3>
<p class="tray-plan__price"><span data-monthly="$29" data-yearly="$24">$29</span><small data-monthly="a month" data-yearly="a month, billed yearly">a month</small></p>
<p class="tray-plan__text">For a farm that ships every day.</p>
</div>
<a class="tray-btn tray-btn--dark tray-btn--md" href="#">Start with Shop</a>
<ul class="tray-ticks">
<li><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-check"/></svg>1,000 orders a month</li>
<li><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-check"/></svg>Five people</li>
<li><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-check"/></svg>Courier tracking</li>
<li><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-check"/></svg>Exports to a spreadsheet</li>
</ul>
</article>
<article class="tray-card tray-plan">
<div class="tray-plan__head">
<h3 class="tray-plan__name">Market</h3>
<p class="tray-plan__price"><span data-monthly="$79" data-yearly="$66">$79</span><small data-monthly="a month" data-yearly="a month, billed yearly">a month</small></p>
<p class="tray-plan__text">For several farms under one roof.</p>
</div>
<a class="tray-btn tray-btn--quiet tray-btn--md" href="#">Start with Market</a>
<ul class="tray-ticks">
<li><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-check"/></svg>Unlimited orders</li>
<li><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-check"/></svg>Twenty people, with roles</li>
<li><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-check"/></svg>Several workspaces</li>
<li><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-check"/></svg>The API and webhooks</li>
</ul>
</article>
</div>
</div>
<p class="tray-demo-note">Counter and its plans are invented for these examples.</p>
</div><div data-tray="pricing">
<div class="tray-plans__bar">
<div class="tray-seg" role="radiogroup" aria-label="Billing period">
<label class="tray-seg__item"><input type="radio" name="period" value="monthly" checked><span>Monthly</span></label>
<label class="tray-seg__item"><input type="radio" name="period" value="yearly"><span>Yearly</span></label>
</div>
<span class="tray-badge">Two months free on yearly</span>
</div>
<div class="tray-plans">
<article class="tray-card tray-card--accent tray-plan">
<div class="tray-plan__head">
<h3 class="tray-plan__name">Shop <span class="tray-badge tray-badge--ink">Most chosen</span></h3>
<p class="tray-plan__price"><span data-monthly="$29" data-yearly="$24">$29</span><small>a month</small></p>
<p class="tray-plan__text">For a farm that ships every day.</p>
</div>
<a class="tray-btn tray-btn--dark tray-btn--md" href="/signup?plan=shop">Start with Shop</a>
<ul class="tray-ticks">
<li><svg class="tray-icon" aria-hidden="true"><use href="#tray-i-check"/></svg>1,000 orders a month</li>
</ul>
</article>
</div>
</div>data-tray="pricing" on the wrapper: when the radios named period change, every element inside with data-monthly and data-yearly takes the text of the chosen period. It fires tray:change with { period }. Render the monthly text in the markup so the prices are there without scripting.
The yellow plan is the one you recommend; its button is tray-btn--dark, the others are tray-btn--quiet. tray-ticks is the list of what is included: a check per line, and data-off on a line the plan lacks.
The billing period is a radio group named by its aria-label: Tab reaches the chosen period, the arrow keys change it, and the prices change in place, without moving focus. A hidden role="status" then reads the new prices ("Yearly prices: Shop, $24 a month, billed yearly; Market, $66 a month, billed yearly"), taking each plan's name from the start of its tray-plan__name. Each plan is an <article> titled by its h3, and the "Most chosen" Badge sits inside that heading, so the recommended plan is named in words and not by its yellow alone. The ticks are aria-hidden, so write a missing feature in words ("No courier tracking"): data-off only greys the line. Each button names its plan ("Start with Shop"). Under prefers-reduced-motion: reduce the pill moves to the chosen period at once.