Templates / Commerce Commerce template Pricing plans Pricing with a monthly or yearly switch and a team-size slider that recalculate every plan, a highlighted plan, a comparison table and questions.
Live preview Desktops have one layout. On phones and tablets the same markup can also lay itself out like a native app: preview on a phone or a tablet .
Code Copy it into a page of your app. Load the CSS and register the components once (see framework setup ); links point at routes like /orders that you replace with your own.
This template works: the page renders from data.ts (sample rows, replace them with your API) and behavior.ts makes its controls work. The behaviour file is the same in every framework.
HTML React Vue Svelte Solid Angular
pricing.html prismora/pricing/data.ts prismora/pricing/behavior.ts
<script type="module">
import '@prismora/css';
import '@prismora/elements/accordion';
import '@prismora/elements/badge';
import '@prismora/elements/button';
import '@prismora/elements/card';
import '@prismora/elements/drawer';
import '@prismora/elements/icon';
import '@prismora/elements/menu';
import '@prismora/elements/segmented';
import '@prismora/elements/slider';
import '@prismora/elements/table';
import '@prismora/elements/theme-settings';
import '@prismora/elements/theme-switch';
import { registerIcons } from '@prismora/elements/icon';
import { arrowRight, check, menu, settings, zap } from '@prismora/icons';
import { data } from './prismora/pricing/data';
import { setup } from './prismora/pricing/behavior';
registerIcons([arrowRight, check, menu, settings, zap]);
setup(document.body, data);
</script>
<div class="pm-stack pm-gap-0">
<header class="pm-site-header">
<a href="/" class="pm-brand">
<pm-icon name="zap"></pm-icon>
<span class="pm-brand-name">Lumen</span>
</a>
<nav class="pm-site-nav" aria-label="Main">
<a href="/">Product</a>
<a href="/pricing" aria-current="page">Pricing</a>
<a href="/customers">Customers</a>
<a href="/blog">Blog</a>
<a href="/help">Help</a>
</nav>
<div class="pm-site-actions">
<pm-theme-switch size="sm" class="pm-site-wide" variant="toggle"></pm-theme-switch>
<pm-button size="sm" variant="ghost" tone="neutral" icon icon-start="settings" label="Display settings" commandfor="display-settings" command="--open"></pm-button>
<pm-button class="pm-site-wide" variant="ghost" tone="neutral" size="sm" href="/sign-in">Sign in</pm-button>
<pm-button size="sm" href="/sign-up">Start free</pm-button>
<pm-button class="pm-site-menu" variant="ghost" tone="neutral" size="sm" icon icon-start="menu" label="Menu" popovertarget="site-menu" aria-haspopup="menu"></pm-button>
<pm-menu id="site-menu">
<a role="menuitem" href="/">Product</a>
<a role="menuitem" href="/pricing">Pricing</a>
<a role="menuitem" href="/customers">Customers</a>
<a role="menuitem" href="/blog">Blog</a>
<a role="menuitem" href="/help">Help</a>
<hr>
<a role="menuitem" href="/sign-in">Sign in</a>
</pm-menu>
</div>
</header>
<pm-drawer id="display-settings" heading="Display settings" description="Saved in this browser." side="end">
<pm-theme-settings></pm-theme-settings>
</pm-drawer>
<main>
<section class="pm-hero">
<span class="pm-eyebrow">Pricing</span>
<h1 class="pm-display">A plan for every team size</h1>
<p class="pm-lead">Start free. Pay per person when your team grows. Cancel whenever you like.</p>
<div class="pm-cluster pm-justify-center pm-gap-4">
<pm-segmented label="Billing period" value="yearly" data-ref="period">
<pm-segment value="monthly">Monthly</pm-segment>
<pm-segment value="yearly">
Yearly
<pm-badge tone="success">Save 20%</pm-badge>
</pm-segment>
</pm-segmented>
</div>
<pm-slider class="pm-measure" label="People on your team" min="1" max="100" value="12" show-value data-ref="seats"></pm-slider>
</section>
<section class="pm-site-section" data-space="sm" aria-label="Plans">
<div class="pm-grid pm-items-stretch" data-min="lg" data-fit>
<pm-card elevation="1" data-plan="starter">
<div class="pm-stack pm-gap-5">
<div class="pm-stack pm-gap-1">
<div class="pm-cluster">
<h2 class="pm-section-title pm-grow">Starter</h2>
</div>
<p class="pm-text-sm pm-muted">For small teams and side projects</p>
</div>
<div class="pm-stack pm-gap-1">
<p class="pm-cluster pm-items-baseline">
<strong class="pm-text-4xl pm-tabular" data-price>$0</strong>
<span class="pm-text-sm pm-muted" data-unit>free for ever</span>
</p>
<p class="pm-text-sm pm-muted pm-tabular" data-total>For up to 5 people</p>
</div>
<pm-button class="pm-full" variant="outline" tone="neutral" href="/sign-up">Start free</pm-button>
<ul class="pm-stack pm-gap-2" role="list" aria-label="Starter includes">
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">Up to 5 people</span>
</li>
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">3 projects</span>
</li>
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">Boards and roadmaps</span>
</li>
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">Community support</span>
</li>
</ul>
</div>
</pm-card>
<pm-card elevation="4" data-plan="pro">
<div class="pm-stack pm-gap-5">
<div class="pm-stack pm-gap-1">
<div class="pm-cluster">
<h2 class="pm-section-title pm-grow">Pro</h2>
<pm-badge tone="accent" variant="solid">Most popular</pm-badge>
</div>
<p class="pm-text-sm pm-muted">For teams that ship every week</p>
</div>
<div class="pm-stack pm-gap-1">
<p class="pm-cluster pm-items-baseline">
<strong class="pm-text-4xl pm-tabular" data-price>$15</strong>
<span class="pm-text-sm pm-muted" data-unit>per person each month, billed yearly</span>
</p>
<p class="pm-text-sm pm-muted pm-tabular" data-total>$2,160 a year for 12 people</p>
</div>
<pm-button class="pm-full" variant="solid" tone="accent" href="/sign-up">Start a 14-day trial</pm-button>
<ul class="pm-stack pm-gap-2" role="list" aria-label="Pro includes">
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">Unlimited projects</span>
</li>
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">Metrics and goals</span>
</li>
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">Automations and integrations</span>
</li>
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">Guests and client access</span>
</li>
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">Email support within a business day</span>
</li>
</ul>
</div>
</pm-card>
<pm-card elevation="1" data-plan="business">
<div class="pm-stack pm-gap-5">
<div class="pm-stack pm-gap-1">
<div class="pm-cluster">
<h2 class="pm-section-title pm-grow">Business</h2>
</div>
<p class="pm-text-sm pm-muted">For organisations with security needs</p>
</div>
<div class="pm-stack pm-gap-1">
<p class="pm-cluster pm-items-baseline">
<strong class="pm-text-4xl pm-tabular" data-price>$31</strong>
<span class="pm-text-sm pm-muted" data-unit>per person each month, billed yearly</span>
</p>
<p class="pm-text-sm pm-muted pm-tabular" data-total>$4,464 a year for 12 people</p>
</div>
<pm-button class="pm-full" variant="outline" tone="neutral" href="/contact">Talk to sales</pm-button>
<ul class="pm-stack pm-gap-2" role="list" aria-label="Business includes">
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">Everything in Pro</span>
</li>
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">Single sign-on and SCIM</span>
</li>
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">Roles and audit log</span>
</li>
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">Data residency</span>
</li>
<li class="pm-cluster pm-items-start pm-text-sm">
<pm-icon name="check" class="pm-text-success"></pm-icon>
<span class="pm-grow">99.9% uptime agreement</span>
</li>
</ul>
</div>
</pm-card>
</div>
</section>
<section class="pm-site-section" aria-labelledby="compare-title">
<div class="pm-site-intro">
<h2 id="compare-title">Compare the plans</h2>
</div>
<pm-table label="Plan comparison" stack="auto" striped columns='[{"key":"feature","label":"Feature","stack":"title"},{"key":"starter","label":"Starter","align":"center"},{"key":"pro","label":"Pro","align":"center"},{"key":"business","label":"Business","align":"center"}]' rows='[{"feature":"People","starter":"Up to 5","pro":"Unlimited","business":"Unlimited"},{"feature":"Projects","starter":"3","pro":"Unlimited","business":"Unlimited"},{"feature":"File storage","starter":"1 GB","pro":"100 GB","business":"1 TB"},{"feature":"Boards and roadmaps","starter":"Included","pro":"Included","business":"Included"},{"feature":"Metrics and goals","starter":"Not included","pro":"Included","business":"Included"},{"feature":"Automations","starter":"Not included","pro":"1,000 runs a month","business":"Unlimited"},{"feature":"Guests","starter":"Not included","pro":"Included","business":"Included"},{"feature":"Single sign-on","starter":"Not included","pro":"Not included","business":"Included"},{"feature":"Audit log","starter":"Not included","pro":"Not included","business":"Included"},{"feature":"Support","starter":"Community","pro":"Email, 1 business day","business":"Priority, 4 hours"}]'></pm-table>
</section>
<section class="pm-site-section" aria-labelledby="faq-title">
<div class="pm-site-intro">
<h2 id="faq-title">Questions about billing</h2>
</div>
<pm-accordion single class="pm-measure">
<pm-accordion-item heading="Can we change plans later?">Yes. An upgrade applies at once and is charged for the days left; a downgrade applies at the end of the billing period.</pm-accordion-item>
<pm-accordion-item heading="What counts as a person?">Anyone who can edit. Guests who only read and comment are free on every paid plan.</pm-accordion-item>
<pm-accordion-item heading="What happens when the trial ends?">You move to Starter unless you add a card. Nothing is deleted.</pm-accordion-item>
<pm-accordion-item heading="Do you offer discounts?">Non-profits and schools get 50% off any paid plan. Write to us with proof of status.</pm-accordion-item>
</pm-accordion>
</section>
<section class="pm-site-section" aria-labelledby="cta-title">
<div class="pm-cta">
<h2 id="cta-title">Not sure which plan fits?</h2>
<p class="pm-lead">Start on Pro for 14 days. You only choose when the trial ends.</p>
<div class="pm-cluster pm-justify-center">
<pm-button size="lg" href="/sign-up" icon-end="arrow-right">Start the trial</pm-button>
<pm-button size="lg" variant="outline" tone="neutral" href="/contact">Talk to sales</pm-button>
</div>
</div>
</section>
</main>
<footer class="pm-site-footer">
<div class="pm-site-footer-cols">
<div>
<a href="/" class="pm-brand">
<pm-icon name="zap"></pm-icon>
<span class="pm-brand-name">Lumen</span>
</a>
<p class="pm-muted">Roadmaps, tasks and metrics in one place, for teams that ship every week.</p>
</div>
<nav aria-label="Product">
<h3>Product</h3>
<a href="/">Overview</a>
<a href="/pricing">Pricing</a>
<a href="/changelog">Changelog</a>
<a href="/integrations">Integrations</a>
</nav>
<nav aria-label="Company">
<h3>Company</h3>
<a href="/about">About</a>
<a href="/customers">Customers</a>
<a href="/blog">Blog</a>
<a href="/careers">Careers</a>
</nav>
<nav aria-label="Support">
<h3>Support</h3>
<a href="/help">Help centre</a>
<a href="/contact">Contact</a>
<a href="/status">Status</a>
</nav>
</div>
<div class="pm-site-footer-bottom">
<span>© 2026 Lumen Labs</span>
<nav aria-label="Legal" class="pm-cluster pm-gap-4">
<a href="/privacy">Privacy</a>
<a href="/terms">Terms</a>
<a href="/security">Security</a>
</nav>
</div>
</footer>
</div> With the CLI npx @prismora/cli add pricing --write Writes the page into your routes folder and both files into prismora/pricing/.
With an AI agent (MCP) scaffold_page({ pattern: "pricing", framework: "html" }) Components in this template