Skip to content

Plans as rows in React

Plans stacked as horizontal rows, readable at a glance on mobile and desktop.

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

RowPricing.tsx
export function RowPricing() {
  return (
    <div className="mx-auto w-[min(100%_-_2rem,52rem)] py-8">
      <ul className="grid gap-3">
        <li className="grid gap-3 rounded-2xl border border-[#ece3c2] bg-white px-5.5 py-5 min-[700px]:grid-cols-[1fr_auto_auto] min-[700px]:items-center min-[700px]:gap-6 dark:border-[#3b3313] dark:bg-[#1b1708]">
          <div>
            <h2 className="text-lg font-bold">Entretien</h2>
            <p className="mt-1 text-[#5c5233] dark:text-[#d8cc9c]">
              Vidange, filtres et contrôle 40 points
            </p>
          </div>
          <p className="text-2xl font-extrabold">129 €</p>

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
  • Three plans side by side, the middle one highlighted.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component