Skip to content

Three-column pricing in React

Three plans side by side, the middle one highlighted.

Here is an excerpt of this component's code in React. The full code is free for members, ready to copy into your project.

This component also comes in

Open in a new tab

The code in React

ThreeColumnPricing.tsx
export function ThreeColumnPricing() {
  return (
    <div className="mx-auto w-[min(100%_-_2rem,68rem)] pt-12 pb-8">
      <ul className="grid items-start gap-6 md:grid-cols-3">
        <li className="relative grid content-start gap-3 rounded-[20px] border-2 bg-white p-7 dark:bg-[#12122b] border-indigo-100 dark:border-[#272750]">
          <h2 className="text-xl font-bold">Essentiel</h2>
          <p className="text-[#4b4b70] dark:text-indigo-200">Pour démarrer seul</p>
          <p className="text-[#4b4b70] dark:text-indigo-200">
            <strong className="text-4xl font-extrabold tracking-tight text-indigo-950 dark:text-indigo-50">
              19 €
            </strong>{" "}
            par mois, HT

Free component: copy it freely, including for commercial projects.

Pricing tables components in React
  • A table comparing what each license includes: update and support length, response time, number of sites, client hand-over. A switch extends support and updates the prices.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Three one-time payment licenses, what each one allows line by line (client site, number of sites, resale) and the recommended plan highlighted.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A session pack grid that computes the price per session and the money saved, with an optional reduced rate.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Service cards with “from” prices, duration and a quote request button, filterable by family.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A single plan presented in detail, with a reassuring satisfaction guarantee.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component