Back

Modular Pricing

An interactive pricing calculator where toggles, checkboxes, and steppers automatically update a live price display. When users interact with the controls, the total updates instantly, adding values for selected options or applying multipliers for things like discounts or premium tiers. All components sync automatically without any code.

0

Status

Working

Code Component

Yes

This is a part of the 300+ components, layouts, templates, UI Kits and code overrides from the SegmentUI. Learn More. We also have a library of freebies here

Instructions

  1. Copy and paste the component from my site into your Framer project.

  2. Add one instance set to "Display" type where you want the total price shown—set your base price, prefix (like "$"), and style the font.

  3. Add additional instances for each pricing option, setting the type to Toggle, Checkbox, or Stepper as needed, and assign each a value.

  4. Customize each control: for Toggle/Checkbox choose addition or multiplication mode, set default on/off state, and style the appearance (colors, sizing, borders). For Stepper, set the per-unit value, default quantity, and button styling.

How it Works

The component has four modes that work together. Display shows the calculated total with a base price, prefix (like $), and suffix. Toggle and Checkbox let users add or multiply values when switched on, addition mode adds the value to the total, multiplication mode applies it as a multiplier (useful for discounts like 0.8 for 20% off). Stepper lets users pick quantities that multiply by the per-unit value. All controls on the page automatically communicate with Display components to update the total.

Property controls vary by type: Display has base price, prefix/suffix, decimals toggle, and font styling. Toggle/Checkbox have value, default state, calculation mode (addition or multiplication), and appearance settings for colors and sizing. Stepper has value per unit, default quantity, and button appearance controls including gap, padding, radius, colors, and icon styling.

Frequently Asked Questions

How do I customize a code component?

How do I customize a code component?

How do I customize a code component?

Can I get the code file for this?

Can I get the code file for this?

Can I get the code file for this?

I'm having issues with this component. What should I do?

I'm having issues with this component. What should I do?

I'm having issues with this component. What should I do?

How can i make this responsive?

How can i make this responsive?

How can i make this responsive?

What is SegmentUI Pro?

SegmentUI Pro is a UI kit and component library containing 500+ assets, components, power ups, upgrades, code overrides, layouts, design systems, Premium templates and a custom Framer code generator. You can preview the UI Kit here.

Additionally, we have a Figma Design system to compliment the Framer components.

Our mission is simple - give superpowers to designers. Everything from the first pixel, education to code components. It's an ever growing, ever evolving set of tools for designer without the hefty price tag.

vs

Who is SegmentUI Pro For?

SegmentUI Pro is for Framer designers and template creators who want to power up their designs

After creating multiple templates and client projects myself, I realised one thing - In order to make more revenue, you need to give more value. This was the main intent behind SegmentUI. To empower designers and to be able to allow them to deliver more value for the time they spend

SegmentUI Pro is for Framer designers and template creators who want to power up their designs

After creating multiple templates and client projects myself, I realised one thing - - In order to make more revenue, you need to give more value. This was the main intent behind SegmentUI. To power up designers to and to be able to allow them to deliver more value for the time they spend

SegmentUI Pro is for Framer designers and template creators who want to power up their designs

After creating multiple templates and client projects myself, I realised one thing - - In order to make more revenue, you need to give more value. This was the main intent behind SegmentUI. To power up designers to and to be able to allow them to deliver more value for the time they spend

A 360° Design Solution

Constantly updating, constantly evolving tools for Framer and Figma. Build more, design faster, sell more, charge more

Loved by Designers, Developers and Founders

See what our 8000+ customers have to say

Unlock everything with a one time payment

For the fraction of your next project, you can boost your workflow by 10 folds

Happy ! Use discount code for a special holiday discount!

Pro

$109

One Time Payment

Full Access to the Figma UI Kit

Full Access to the Framer UI Kit

Full Access to the Framer Code Components & CMS Upgrades

Full Access to Framer Plugins

Full Access to 4 Premium Framer Templates

Full Access to Framer Code Genie GPT

Request Components & Layouts

Get Updates Forever

Light, Dark & Dynamic Modes

Use for Unlimited Projects

Commercial License Only

Use for personal and client projects

Pro Creator

$199

One Time Payment

Everything in Pro

Template & Commercial License

Use UI Kit to create unlimited client projects and templates

Frequently Asked

For anything not covered here, mail us at hello@segmentui.com

General

What is SegmentUI?

Is it for Figma or Framer?

How do I access after purchasing?

License

Is atttribution required?

How does the licenses work?

Can I use it to create client projects?

Can I use it to create Framer templates?

Do my clients need to pay after I purchase?

Pricing

Is there a free version?

Do you have a student discount?

Will I get future updates if I purchase now?

Is this a one time payment or a subscription?

What is the difference between Pro and Pro Creator Access?

Supercharge Your Design Workflow

1000+ variations of styles, components, interactions, layouts, transforms, code overrides, code components for Framer & Figma. Power Up Now!

A 360° Design Solution

Constantly updating, constantly evolving tools for Framer and Figma. Build more, design faster, sell more, charge more

Loved by Designers, Developers and Founders

See what our 8000+ customers have to say

Unlock everything with a one time payment

For the fraction of your next project, you can boost your workflow by 10 folds

Happy ! Use discount code for a special holiday discount!

Pro

$109

One Time Payment

Full Access to the Figma UI Kit

Full Access to the Framer UI Kit

Full Access to the Framer Code Components & CMS Upgrades

Full Access to Framer Plugins

Full Access to 4 Premium Framer Templates

Full Access to Framer Code Genie GPT

Request Components & Layouts

Get Updates Forever

Light, Dark & Dynamic Modes

Use for Unlimited Projects

Commercial License Only

Use for personal and client projects

Pro Creator

$199

One Time Payment

Everything in Pro

Template & Commercial License

Use UI Kit to create unlimited client projects and templates

Frequently Asked

For anything not covered here, mail us at hello@segmentui.com

General

What is SegmentUI?

Is it for Figma or Framer?

How do I access after purchasing?

License

Is atttribution required?

How does the licenses work?

Can I use it to create client projects?

Can I use it to create Framer templates?

Do my clients need to pay after I purchase?

Pricing

Is there a free version?

Do you have a student discount?

Will I get future updates if I purchase now?

Is this a one time payment or a subscription?

What is the difference between Pro and Pro Creator Access?

Supercharge Your Design Workflow

1000+ variations of styles, components, interactions, layouts, transforms, code overrides, code components for Framer & Figma. Power Up Now!

A 360° Design Solution

Constantly updating, constantly evolving tools for Framer and Figma. Build more, design faster, sell more, charge more

Loved by Designers, Developers and Founders

See what our 8000+ customers have to say

Unlock everything with a one time payment

For the fraction of your next project, you can boost your workflow by 10 folds

Happy ! Use discount code for a special holiday discount!

Pro

$109

One Time Payment

Full Access to the Figma UI Kit

Full Access to the Framer UI Kit

Full Access to the Framer Code Components & CMS Upgrades

Full Access to Framer Plugins

Full Access to 4 Premium Framer Templates

Full Access to Framer Code Genie GPT

Request Components & Layouts

Get Updates Forever

Light, Dark & Dynamic Modes

Use for Unlimited Projects

Commercial License Only

Use for personal and client projects

Pro Creator

$199

One Time Payment

Everything in Pro

Template & Commercial License

Use UI Kit to create unlimited client projects and templates

Frequently Asked

For anything not covered here, mail us at hello@segmentui.com

General

What is SegmentUI?

Is it for Figma or Framer?

How do I access after purchasing?

License

Is atttribution required?

How does the licenses work?

Can I use it to create client projects?

Can I use it to create Framer templates?

Do my clients need to pay after I purchase?

Pricing

Is there a free version?

Do you have a student discount?

Will I get future updates if I purchase now?

Is this a one time payment or a subscription?

What is the difference between Pro and Pro Creator Access?

Supercharge Your Design Workflow

1000+ variations of styles, components, interactions, layouts, transforms, code overrides, code components for Framer & Figma. Power Up Now!