Page·Free
Pricing section (HTML + Tailwind)
Three pricing plans in plain HTML with Tailwind CSS 4 classes, with no React or JavaScript. The cards stack on phones and switch to dark colours with the system setting. Your project needs Tailwind to build the styles. Replace the example plans and prices with yours.
Free to install.
If PocketCode is installed on your Android device, this opens the page in the app.
Preview
pricing.html · 65 lines
<!--
Pricing section in HTML with Tailwind CSS 4 classes (no React, no JavaScript).
It needs Tailwind in your build: with the Tailwind CLI, a CSS file with
`@import "tailwindcss";` picks these classes up when this file is in the project.
Three plans that stack on phones, the middle one marked as the usual choice,
and dark colours from the system setting (Tailwind's dark: variant).
The plans, prices and links are examples: replace them with yours.
-->
<section aria-labelledby="pricing-title" class="bg-white px-4 py-16 text-zinc-900 dark:bg-zinc-950 dark:text-zinc-100">
<div class="mx-auto max-w-5xl">
<div class="mx-auto max-w-2xl text-center">
<h2 id="pricing-title" class="text-3xl font-bold tracking-tight sm:text-4xl">Plans and pricing</h2>
<p class="mt-3 text-base text-zinc-600 dark:text-zinc-400">Start free and move up when you need more. You can change plans at any time.</p>
</div>
<ul class="mt-12 grid gap-6 md:grid-cols-3" role="list">
<li class="flex flex-col rounded-2xl border border-zinc-300 p-6 dark:border-zinc-700">
<h3 class="text-lg font-semibold">Starter</h3>
<p class="mt-1 text-sm text-zinc-600 dark:text-zinc-400">For trying it out on your own.</p>
<p class="mt-6 flex items-baseline gap-1">
<span class="text-4xl font-bold">$0</span>
<span class="text-sm text-zinc-600 dark:text-zinc-400">per month</span>
</p>
<ul class="mt-6 space-y-3 text-sm" role="list">
<li class="flex gap-3"><svg class="mt-0.5 size-4 flex-none" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="m3 8.5 3 3 7-7"/></svg>1 project</li>
<li class="flex gap-3"><svg class="mt-0.5 size-4 flex-none" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="m3 8.5 3 3 7-7"/></svg>Community support</li>
</ul>
<a href="#start" class="mt-8 inline-flex min-h-11 items-center justify-center rounded-lg border border-zinc-500 px-4 text-sm font-semibold hover:bg-zinc-100 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-zinc-900 dark:border-zinc-500 dark:hover:bg-zinc-900 dark:focus-visible:outline-zinc-100">Start free<span class="sr-only"> with Starter</span></a>
</li>
<li class="relative flex flex-col rounded-2xl border-2 border-zinc-900 p-6 dark:border-zinc-100">
<p class="absolute -top-3 left-6 rounded-full bg-zinc-900 px-3 py-0.5 text-xs font-semibold text-white dark:bg-zinc-100 dark:text-zinc-900">Most chosen</p>
<h3 class="text-lg font-semibold">Pro</h3>
<p class="mt-1 text-sm text-zinc-600 dark:text-zinc-400">For people who use it every day.</p>
<p class="mt-6 flex items-baseline gap-1">
<span class="text-4xl font-bold">$9</span>
<span class="text-sm text-zinc-600 dark:text-zinc-400">per month</span>
</p>
<ul class="mt-6 space-y-3 text-sm" role="list">
<li class="flex gap-3"><svg class="mt-0.5 size-4 flex-none" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="m3 8.5 3 3 7-7"/></svg>Unlimited projects</li>
<li class="flex gap-3"><svg class="mt-0.5 size-4 flex-none" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="m3 8.5 3 3 7-7"/></svg>Email support within 2 working days</li>
<li class="flex gap-3"><svg class="mt-0.5 size-4 flex-none" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="m3 8.5 3 3 7-7"/></svg>Version history</li>
</ul>This preview is shortened. You get the full content when you install it.
Changes in 1.0.0
First version.