StealThis .dev

Paywall — Hard paywall (full block)

A self-contained hard paywall for the fictional Northwind Journal: an editorial article opens with a kicker, headline and byline, then after the first paragraph the entire remainder is replaced by a centered gate card on a soft brand backdrop. The card pairs a lock icon with a Subscribe to keep reading heading, two selectable plan cards (a Most popular Pro tier and a lighter Starter tier) with feature lists and live pricing, a Continue with plan button, and a sign-in link toggling an inline email form. No copy leaks below.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Hard paywall (full block)

A complete hard-paywall reading view for the fictional Northwind Journal. The article opens normally — a brand kicker, an oversized headline, an italic-feeling deck, a byline with an avatar and read time, and a single lead paragraph. Where the rest of the story would continue, a centered gate card takes over on a soft radial-brand backdrop. Unlike a metered or fade paywall, nothing leaks below: the gated region is fully replaced, so there are no teaser sentences to scrape.

The gate card leads with a lock badge and a “Subscribe to keep reading” heading, then offers two selectable plan cards built as accessible radio options. The highlighted Pro tier carries a “Most popular” badge and a four-item feature list; the lighter Starter tier sits below it. Selecting a plan ringed the card in brand color, reveals a check, and the JS rewrites the “Continue with {plan}” button label, swaps the annual-price fine print, and raises a confirmation toast.

A “Sign in” link — in both the top bar and inside the card — toggles a tiny inline email form with validation and an aria-live hint; submitting a valid address fires a “login link sent” toast, while Escape closes the form and returns focus to the trigger. Everything is vanilla JS with no build step, focus-visible rings, reduced-motion support, and a layout that holds together down to 360px.

Illustrative UI only — Northwind Journal, its plans, prices and bylines are fictional and not a real publication or subscription product.