Skip to content

Features & services

Services Pricing

What a service includes beside a pricing card whose plan switch swaps the list, price and note.

Layout and motion from the Nitip template — see it in context

Installation

$ npx shadcn@latest add https://framebrick.co/r/blocks/services-pricing.json

Usage

import { ServicesPricing } from "@/components/services-pricing";

<ServicesPricing
  name="Paid advertising package"
  plans={[
    { id: "monthly", label: "Monthly", price: "$1,800", note: "per month", included: ["Two channels"] },
    { id: "quarterly", label: "Quarterly", price: "$4,900", note: "per quarter", included: ["Three channels"] },
  ]}
  action={{ label: "Book an intro call", href: "/contact" }}
/>

Props

PropTypeDefaultDescription
titlestring—Section heading for screen readers (visually hidden).
tools{ label, href? }[]—List with a dot per row; links open in a new tab.
offer / benefits{ highlight?, text }[]—Bulleted lists; highlight is bold and text follows it (start it with ": ").
namestring—Package name at the top of the card (h3).
plans{ id, label, price, note, included[] }[]Monthly, QuarterlyThe switch shows with more than one plan; each brings its own list, price and note.
action{ label, href }—Button at the bottom of the card.
labels{ tools, offer, benefits, included, plans }—Headings, and the switch's accessible name.
classNamestring—Classes for the <section>.
  • Below 1024px the card follows the text; from 1024px it is 400px wide beside it and as tall as it.
  • The switch's fill slides to the chosen plan (segmented-control spring, bounce 0.15, 0.45s); arrow keys move between plans. The included list announces its change.

AI prompt

Paste into v0, Lovable, Bolt or Claude to rebuild this block in your own project.

Create a React + Tailwind CSS + Motion block called ServicesPricing (Next.js).
- <section className="py-(--section-y)"> with a visually hidden h2; container mx-auto max-w-(--container) px-(--gutter); a column
  that becomes a row from 1024px (gap-24).
- Left (flex-1, gap-12): "Tools" (h3 font-heading text-h3 semibold) over an <hr> and rows with border-b, label and an 8px dot;
  "What we offer" and "Key benefits" as h3 + a bulleted list (muted text, bold highlight in foreground).
- Right: a card (rounded-xl border bg-card p-6, 400px wide from 1024px, stretched to the text's height, content at the top,
  gap-8): a segmented control of plans (radio group, the selected fill slides with a spring), the package name (h3),
  "What's included" with check icons, the price (font-heading text-h2) over a muted note, and a shadcn-style button with an
  arrow that turns 45° on hover. Switching plans swaps the list, price and note.
- Only shadcn variables and block tokens.

Be the first to know

Get new templates and components first

One short email when we release a template or a free component. No spam — unsubscribe anytime.

We use your email only for Framebrick updates. Privacy policy