Marketing Sections
v1.0.0Added in 1.7.0
A compact plans section for a landing page: plans with a Monthly / Yearly switch, a highlighted plan, checklists and a button each.
Flip Monthly / Yearly (tap, drag the thumb, or arrow keys) and every price rolls to its new value while the line under it switches between billed monthly and billed yearly; the Yearly option carries a Save 20% pill worked out from the prices. The recommended plan stands out (raised, outlined or filled) with a Most popular pill and the solid button. Each plan's button follows its link, or runs onSelectPlan and shows a spinner while the returned promise is pending. Under the plans a Compare all features link leads to the full pricing page. In the cards layout a phone gets a swipeable rail that opens on the featured plan, with dots to jump between plans, or stacked cards; the split, minimal and single layouts stack into one column.
npx wingo-ui@latest add pricing-sectionPro item: the CLI needs a Pro account. See plans