Skip to content

Latest commit

 

History

History

README.md

Pricing Quote Calculator

This code component example is a flexible pricing calculator widget for calculating a monthly premium estimate. See a live example here.

Features

  • User input fields are exposed as component props. Enabling Webflow users to set defaults in the Webflow designer
  • Additionally, defaults can be set via URL query parameters enabling:
    • Prefilled values based on personalization
    • A/B testing on text such as the title or CTA button with dynamic-bound values at runtime
  • Client-side calculations for monthly premium estimation
  • TailwindCSS with DaisyUI as a Tailwind plugin
  • Vite project setup

Getting started

  • Install dependencies: npm i
  • Run the project locally: npm run dev
    • Visit http://localhost:5173/
    • Ensure that the component loads as expected
    • Any local code changes saved should reflect accordingly
  • Run npx webflow library share to create a code library for this example in your designated Webflow workspace