Website Cost Calculator Pricing Section
Website cost calculator: a project quote you measure out: tick what the site needs and a tape measure pulls out to the launch week, with the fixed price on its case.
Features
- A tape measure drawn in code: its hook held at kick-off, a tick per day and a numbered mark per week
- Ticking a piece pulls the tape out on a spring and slides the case along to the new launch week
- The fixed price on the case's face counts to its new figure while the reel around it turns
- Phases printed on the tape; pointing at a piece lights its phase
- Pieces in one phase run side by side, so the timeline is honest, not a plain sum
- Compact tiles with the price beside the name; the tile's foot is the check box, a slim strip that adds the piece and turns ink once it is in
- One column per phase with its live length; included pieces locked
- The total in large type beside a button that emails the quote line by line
- Only transforms and a clip move; everything jumps into place for reduced motion
Best for: Web design studios, agencies and freelancers who sell fixed-price projects and want buyers to build their own quote and see the launch date.
Installation
npm install motion lucide-react @radix-ui/react-slot class-variance-authority clsx tailwind-mergeThen copy the files from the Code tab into the same paths in your project, in TypeScript or JavaScript.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | - | The headline's first line. |
| subtitle | string | - | Optional second line, in grey. |
| description | string | - | Optional paragraph beside the headline. |
| eyebrow | string | - | Optional small label above the headline. |
| phases | QuotePhase[] | - | The project's phases in order: id and label. Pieces in one phase run side by side. |
| pieces | QuotePiece[] | - | What a project can include: id, phase, name, description, price, weeks, and isIncluded (locked on) or isPicked (ticked at first). |
| kickoff | string | - | The day work starts, as an ISO day. The launch date is counted from it. |
| booking | QuoteBooking | - | The button: label, email, subject and the email's opening line. |
| note | string | - | Optional plain line under the dates. |
| copy | Partial<QuoteCopy> | - | Overrides for the words: totalLabel, priceNote, kickoffLabel, launchLabel, weekLabel, weeksLabel, includedLabel, addLabel, addedLabel, tapeLabel. |
| currency | string | "USD" | ISO currency code for the prices. |
| locale | string | "en-US" | Locale for prices and dates. |
| className | string | - | Extra classes for the section. |
FAQ
Is the Website Cost Calculator Pricing Section free to use?
Yes. Website Cost Calculator Pricing Section is free to copy into your own projects. Open the Code tab and paste the files into your app.
Does Website Cost Calculator Pricing Section work with Next.js and React?
Yes. It's a React client component made for the Next.js App Router, styled with Tailwind CSS and animated with Framer Motion (the motion package).
Can I use Website Cost Calculator Pricing Section in JavaScript instead of TypeScript?
Yes. Every file comes in TypeScript and JavaScript. Switch the language in the Code tab.
What does Website Cost Calculator Pricing Section need installed?
motion, lucide-react, @radix-ui/react-slot, class-variance-authority, clsx, tailwind-merge, plus the shared helpers from the Installation page.
Is Website Cost Calculator Pricing Section accessible?
Every link and button is reachable by keyboard with a visible focus ring, and the animation stays still for visitors who ask for reduced motion.
