Edition audience pricing · 1.0.0

A publication pricing section with an audience slider, monthly and annual controls, three plans and a custom-plan enquiry row.

HTML: open index.html for the standalone demo. Copy snippet.html into your page, load snippet.css after existing styles and load snippet.js once with defer. demo.css and the demo page label/link interception belong only to the preview. Styles are scoped to .fct-edition-audience-pricing. No external fonts or libraries are required.

Astro: copy Snippet.astro into src/components/, import it in an Astro page or layout and render it. The component has readable HTML, scoped selector prefixes in global CSS and an inline vanilla JavaScript runtime. It is a standalone component, not a complete Astro project.

One instance per page. Before duplicating, make root selectors, IDs and radio group names unique. Replace sample brand names, prices, currency, capacities, billing terms and signup links. Define taxes, refunds, delivery/service limits and proration for your actual offer. No account, subscription, payment or backend is created.

Audience pricing: update the rates and sizes arrays in JavaScript, the initial HTML prices and the visible rate table together. Annual totals use 10 times the monthly sample rate; monthly equivalents divide by 12. Controls require JavaScript; without it, the 1,000-reader monthly offer and complete rate table remain available. Controls are disabled until the runtime initializes.

Reference: Ghost pricing — https://ghost.org/pricing/
The live page connects audience size and billing period to plan pricing. Edition adapts that interaction pattern with a separate sample rate table, original content and a compact layout.
Original code and branding; no affiliation. MIT license included. Test keyboard controls, mobile widths, zoom, billing math and combined site styles after integration.
