Skip to content
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.

Related

Landing hero (Next.js + Tailwind)FreePageHero section for the Next.js App Router: a title, a subtitle and two links over a soft gradient. It uses dark colours when the system is in dark mode.Contact form (HTML + CSS)FreePageA contact form in one HTML file: name, email, an optional topic and the message. Every field has a label, and a red border appears only after someone types in it or tries to send. Set the form's action to your endpoint. Dark mode follows the system.404 page (HTML + CSS)FreePageA "page not found" page in one HTML file. Save it as 404.html on your static site. It links to your home page and to a page for reporting the broken link, and shows a back button when there is a previous page. Light or dark follows the system.Login screen (Compose)FreePageEmail and password screen in Material 3. It checks both fields when you tap Sign in, shows the error your server returns, and can add Forgot password and fingerprint buttons. You call BiometricPrompt yourself.Static landing pageProProject templateA one-page site in plain HTML and CSS with a header and folding menu, a hero, a feature grid, an FAQ and a footer. Colours follow the system's light or dark setting. There is no build step and it doesn't need Linux: open index.html and tap the globe icon.Settings screen (Compose)FreePageMaterial 3 settings screen with switches, a theme choice and a text size slider. It holds no state: you pass a SettingsState in and get the changed copy back. Each row is one touch target of 56 dp or more that TalkBack reads as a switch or radio button.