Preview links stay in the example. Copy the source to use your own destinations. Form previews never send information.
Copy the source HTML CSS JavaScript Astro
Copy HTML <section
class="fct-panel-seat-pricing"
data-snippet="panel-seat-pricing"
aria-labelledby="fct-panel-seat-pricing-title"
>
<div class="m-inner">
<header class="m-panel-heading">
<div>
<p class="m-kicker">PANEL / COLLABORATIVE WORKSPACE</p>
<h2 id="fct-panel-seat-pricing-title">Give each person<br />the right kind of seat.</h2>
<p class="m-lead">Builders create. Reviewers give feedback. Viewers follow the work.</p>
</div>
<fieldset class="m-billing" disabled>
<legend>Paid-plan billing</legend>
<label
><input type="radio" name="fct-panel-seat-pricing-billing" value="monthly" checked />
Monthly</label
><label
><input type="radio" name="fct-panel-seat-pricing-billing" value="annual" /> Annual</label
>
</fieldset>
</header>
<div class="m-seat-plans">
<article class="m-seat-plan m-free">
<header>
<h3>Free</h3>
<p>Try a small shared project.</p>
</header>
<dl>
<div>
<dt><span class="m-role-icon m-role-0" aria-hidden="true">B</span>Builder</dt>
<dd><strong data-seat-rate="free-0">€0</strong><span>/ person / mo</span></dd>
</div>
<div>
<dt><span class="m-role-icon m-role-1" aria-hidden="true">R</span>Reviewer</dt>
<dd><strong data-seat-rate="free-1">—</strong><span>not included</span></dd>
</div>
<div>
<dt><span class="m-role-icon m-role-2" aria-hidden="true">V</span>Viewer</dt>
<dd><strong data-seat-rate="free-2">€0</strong><span>/ person / mo</span></dd>
</div>
</dl>
<p class="m-billing-note" data-seat-note="free">
No subscription charge. Includes two builders.
</p>
<a class="m-button" href="signup.html?plan=free"
>Choose Free<span aria-hidden="true">→</span></a
>
<h4>Included</h4>
<ul>
<li>Two builders</li>
<li>One shared project</li>
<li>Unlimited viewers</li>
</ul>
</article>
<article class="m-seat-plan m-team">
<header>
<h3>Team</h3>
<p>A workspace for regular collaboration.</p>
</header>
<dl>
<div>
<dt><span class="m-role-icon m-role-0" aria-hidden="true">B</span>Builder</dt>
<dd><strong data-seat-rate="team-0">€18</strong><span>/ person / mo</span></dd>
</div>
<div>
<dt><span class="m-role-icon m-role-1" aria-hidden="true">R</span>Reviewer</dt>
<dd><strong data-seat-rate="team-1">€6</strong><span>/ person / mo</span></dd>
</div>
<div>
<dt><span class="m-role-icon m-role-2" aria-hidden="true">V</span>Viewer</dt>
<dd><strong data-seat-rate="team-2">€0</strong><span>/ person / mo</span></dd>
</div>
</dl>
<p class="m-billing-note" data-seat-note="team">Billed monthly per active paid seat.</p>
<a class="m-button" href="signup.html?plan=team"
>Choose Team<span aria-hidden="true">→</span></a
>
<h4>Included</h4>
<ul>
<li>Shared team libraries</li>
<li>Unlimited projects</li>
<li>Role-based access</li>
</ul>
</article>
<article class="m-seat-plan m-organization">
<header>
<h3>Organization</h3>
<p>Coordinate work across several teams.</p>
</header>
<dl>
<div>
<dt><span class="m-role-icon m-role-0" aria-hidden="true">B</span>Builder</dt>
<dd><strong data-seat-rate="organization-0">€30</strong><span>/ person / mo</span></dd>
</div>
<div>
<dt><span class="m-role-icon m-role-1" aria-hidden="true">R</span>Reviewer</dt>
<dd><strong data-seat-rate="organization-1">€10</strong><span>/ person / mo</span></dd>
</div>
<div>
<dt><span class="m-role-icon m-role-2" aria-hidden="true">V</span>Viewer</dt>
<dd><strong data-seat-rate="organization-2">€0</strong><span>/ person / mo</span></dd>
</div>
</dl>
<p class="m-billing-note" data-seat-note="organization">
Billed monthly per active paid seat.
</p>
<a class="m-button" href="signup.html?plan=organization"
>Choose Organization<span aria-hidden="true">→</span></a
>
<h4>Included</h4>
<ul>
<li>Everything in Team</li>
<li>Organization libraries</li>
<li>Central member management</li>
</ul>
</article>
</div>
<section class="m-team-estimator" aria-labelledby="fct-panel-seat-pricing-estimate">
<div>
<p class="m-kicker">PLAN YOUR TEAM</p>
<h3 id="fct-panel-seat-pricing-estimate">Add up the seats you need.</h3>
<p>
Viewers are €0 in these example plans. Your total depends on builders, reviewers and the
selected billing period.
</p>
</div>
<div>
<form data-seat-form>
<fieldset disabled>
<legend>Example team composition</legend>
<label
>Plan<select name="plan">
<option value="team">Team</option>
<option value="organization">Organization</option>
</select></label
>
<div class="m-seat-inputs">
<label
>Builders<input
type="number"
name="builders"
min="0"
max="1000"
step="1"
value="2"
required
inputmode="numeric" /></label
><label
>Reviewers<input
type="number"
name="reviewers"
min="0"
max="1000"
step="1"
value="3"
required
inputmode="numeric"
/></label>
</div>
</fieldset>
</form>
<div class="m-team-total">
<output data-team-total>€54</output><span data-team-period>per month</span>
</div>
<p class="m-note m-team-billed" data-team-billed>
€54 billed monthly for 2 builders and 3 reviewers.
</p>
<p class="m-team-status m-note" role="status">Sample Team monthly rates selected.</p>
</div>
</section>
<details class="m-seat-definitions">
<summary>What is the difference between the seat roles?</summary>
<p>
A builder can create and edit work. A reviewer can comment and approve. A viewer can read
shared work. These are example permissions; replace them with the roles your product
actually supports. The Free example includes two builders and viewers; reviewer seats are
not included.
</p>
</details>
<noscript
><p class="m-note">
Controls require JavaScript and remain disabled without it. The visible rates and €54 team
example use monthly Team pricing.
</p></noscript
>
<p class="m-note m-disclaimer">
Sample prices and permissions. Taxes, proration and service terms must be specified. This
component does not create seats, accounts or subscriptions.
</p>
</div>
</section>
Copy CSS .fct-panel-seat-pricing {
--ink: #202a36;
--muted: #526174;
--line: #d6dfe6;
--accent: #1d55ac;
color: var(--ink);
background: #fff;
font:
16px/1.55 Arial,
Helvetica,
sans-serif;
}
.fct-panel-seat-pricing,
.fct-panel-seat-pricing * {
box-sizing: border-box;
}
.fct-panel-seat-pricing :is(h2, h3, h4, p, ul, dl, dd, figure) {
margin: 0;
}
.fct-panel-seat-pricing :is(h2, h3, h4) {
line-height: 1.12;
letter-spacing: -0.035em;
}
.fct-panel-seat-pricing h2 {
font-size: clamp(2rem, 4.5vw, 3.75rem);
}
.fct-panel-seat-pricing h3 {
font-size: 1.5rem;
}
.fct-panel-seat-pricing .m-inner {
max-width: 1200px;
margin: auto;
padding: 60px clamp(20px, 4vw, 60px);
}
.fct-panel-seat-pricing .m-kicker {
font-size: 0.8125rem;
letter-spacing: 0.04em;
font-weight: 700;
margin-bottom: 18px;
}
.fct-panel-seat-pricing .m-lead {
font-size: 1.125rem;
color: var(--muted);
max-width: 57ch;
margin-top: 20px;
}
.fct-panel-seat-pricing a {
color: var(--accent);
text-underline-offset: 4px;
}
.fct-panel-seat-pricing :is(input, select, button) {
font: inherit;
color: inherit;
}
.fct-panel-seat-pricing :is(a, button, input, select, summary):focus-visible {
outline: 3px solid #b44b03;
outline-offset: 4px;
}
.fct-panel-seat-pricing .m-button {
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: 18px;
padding: 12px 20px;
min-height: 48px;
border: 1px solid transparent;
border-radius: 4px;
background: var(--accent);
color: white;
font-size: 0.9375rem;
font-weight: 700;
text-decoration: none;
}
.fct-panel-seat-pricing .m-note {
font-size: 0.8125rem;
color: var(--muted);
}
.fct-panel-seat-pricing summary {
min-height: 48px;
align-content: center;
cursor: pointer;
font-size: 0.9375rem;
font-weight: 700;
}
.fct-panel-seat-pricing details > p {
padding: 12px 0 20px;
color: var(--muted);
font-size: 0.9375rem;
}
.fct-panel-seat-pricing [hidden] {
display: none !important;
}
@media (max-width: 700px) {
.fct-panel-seat-pricing .m-inner {
padding-block: 36px;
}
}
.fct-panel-seat-pricing {
--ink: #202020;
--muted: #5a5a5a;
--line: #d6d6d6;
--accent: #202020;
}
.fct-panel-seat-pricing .m-inner {
max-width: 1320px;
}
.fct-panel-seat-pricing .m-panel-heading {
display: flex;
justify-content: space-between;
align-items: end;
gap: 40px;
margin-bottom: 40px;
}
.fct-panel-seat-pricing h2 {
font-weight: 400;
font-size: clamp(2.5rem, 5.5vw, 4.75rem);
line-height: 1.03;
letter-spacing: -0.055em;
}
.fct-panel-seat-pricing .m-lead {
font-size: 1rem;
max-width: 600px;
}
.fct-panel-seat-pricing .m-billing {
display: flex;
gap: 14px;
margin: 0;
padding: 9px 14px 12px;
border: 1px solid #ccc;
border-radius: 4px;
flex: none;
}
.fct-panel-seat-pricing legend {
font-size: 0.75rem;
padding-inline: 5px;
color: var(--muted);
}
.fct-panel-seat-pricing .m-billing label {
display: flex;
align-items: center;
gap: 7px;
min-height: 32px;
font-size: 0.875rem;
cursor: pointer;
}
.fct-panel-seat-pricing input[type="radio"] {
width: 17px;
height: 17px;
accent-color: #202020;
margin: 0;
}
.fct-panel-seat-pricing .m-seat-plans {
display: grid;
grid-template-columns: 0.85fr 1fr 1fr;
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
}
.fct-panel-seat-pricing .m-seat-plan {
padding: 0 26px 28px;
border-left: 1px solid #d6d6d6;
min-width: 0;
}
.fct-panel-seat-pricing .m-seat-plan:last-child {
border-right: 1px solid #d6d6d6;
}
.fct-panel-seat-pricing .m-seat-plan > header {
padding: 24px 0;
min-height: 148px;
}
.fct-panel-seat-pricing .m-seat-plan h3 {
font-size: 1.8rem;
font-weight: 400;
letter-spacing: -0.03em;
}
.fct-panel-seat-pricing .m-seat-plan header p {
font-size: 0.875rem;
color: var(--muted);
margin-top: 12px;
max-width: 28ch;
}
.fct-panel-seat-pricing .m-team > header {
box-shadow: inset 0 5px #a99bd1;
}
.fct-panel-seat-pricing .m-organization > header {
box-shadow: inset 0 5px #e2be55;
}
.fct-panel-seat-pricing dl > div {
display: flex;
justify-content: space-between;
gap: 14px;
align-items: center;
padding: 20px 0;
border-top: 1px solid #e3e3e3;
}
.fct-panel-seat-pricing dt {
display: flex;
align-items: center;
gap: 9px;
font-size: 0.875rem;
}
.fct-panel-seat-pricing .m-role-icon {
display: grid;
place-items: center;
width: 23px;
height: 23px;
border-radius: 4px;
background: #d9eef5;
font: 700 11px/1 monospace;
color: #17445d;
}
.fct-panel-seat-pricing .m-role-1 {
background: #ede5fa;
color: #593680;
}
.fct-panel-seat-pricing .m-role-2 {
background: #edf0d8;
color: #44561d;
}
.fct-panel-seat-pricing dd {
text-align: right;
white-space: nowrap;
}
.fct-panel-seat-pricing dd strong {
font-size: 1.125rem;
font-weight: 400;
letter-spacing: -0.03em;
}
.fct-panel-seat-pricing dd > span {
display: block;
font-size: 0.6875rem;
color: var(--muted);
}
.fct-panel-seat-pricing .m-billing-note {
font-size: 0.75rem;
color: var(--muted);
min-height: 3em;
margin: 3px 0 20px;
}
.fct-panel-seat-pricing .m-button {
display: flex;
width: 100%;
margin-bottom: 26px;
}
.fct-panel-seat-pricing .m-free .m-button {
background: white;
border-color: #202020;
color: #202020;
}
.fct-panel-seat-pricing h4 {
font-size: 0.875rem;
letter-spacing: 0;
margin-bottom: 16px;
}
.fct-panel-seat-pricing ul {
list-style: none;
padding: 0;
display: grid;
gap: 13px;
font-size: 0.875rem;
}
.fct-panel-seat-pricing li {
position: relative;
padding-left: 21px;
}
.fct-panel-seat-pricing li:before {
content: "✓";
position: absolute;
left: 0;
font-size: 0.8125rem;
}
.fct-panel-seat-pricing .m-team-estimator {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 80px;
background: #f5f5f3;
border: 1px solid #ddd;
margin-top: 35px;
padding: 32px;
}
.fct-panel-seat-pricing .m-team-estimator h3 {
font-weight: 400;
font-size: 1.75rem;
}
.fct-panel-seat-pricing .m-team-estimator > div > p:not(.m-kicker) {
font-size: 0.9375rem;
color: var(--muted);
margin-top: 16px;
max-width: 40ch;
}
.fct-panel-seat-pricing form fieldset {
border: 0;
padding: 0;
margin: 0;
min-width: 0;
}
.fct-panel-seat-pricing form legend {
padding: 0;
margin-bottom: 12px;
}
.fct-panel-seat-pricing form label {
display: grid;
gap: 8px;
font-size: 0.8125rem;
}
.fct-panel-seat-pricing form :is(input, select) {
min-height: 46px;
padding: 8px 12px;
background: #fff;
border: 1px solid #aaa;
border-radius: 3px;
min-width: 0;
width: 100%;
font-size: 1rem;
}
.fct-panel-seat-pricing form input[aria-invalid="true"] {
border-color: #b23b18;
}
.fct-panel-seat-pricing .m-seat-inputs {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
margin-top: 15px;
}
.fct-panel-seat-pricing .m-team-total {
display: flex;
gap: 12px;
align-items: baseline;
margin-top: 25px;
}
.fct-panel-seat-pricing .m-team-total output {
font-size: 2.6rem;
letter-spacing: -0.055em;
line-height: 1.1;
overflow-wrap: anywhere;
}
.fct-panel-seat-pricing .m-team-total span {
font-size: 0.8125rem;
color: var(--muted);
}
.fct-panel-seat-pricing .m-team-billed {
margin-top: 10px;
min-height: 3em;
}
.fct-panel-seat-pricing .m-team-status {
min-height: 3em;
margin-top: 10px !important;
font-size: 0.8125rem !important;
}
.fct-panel-seat-pricing .m-seat-definitions {
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
margin-top: 28px;
}
.fct-panel-seat-pricing .m-disclaimer {
padding-top: 24px;
margin-top: 24px;
border-top: 1px solid #ddd;
}
@media (max-width: 800px) {
.fct-panel-seat-pricing .m-panel-heading {
display: block;
}
.fct-panel-seat-pricing .m-billing {
margin-top: 25px;
width: fit-content;
}
.fct-panel-seat-pricing .m-seat-plans {
grid-template-columns: 1fr;
}
.fct-panel-seat-pricing .m-seat-plan {
padding: 0 24px 28px;
border-right: 1px solid #d6d6d6;
}
.fct-panel-seat-pricing .m-seat-plan + .m-seat-plan {
border-top: 1px solid #aaa;
}
.fct-panel-seat-pricing .m-seat-plan > header {
min-height: 0;
padding-block: 25px;
}
.fct-panel-seat-pricing .m-seat-plan header p {
max-width: none;
}
.fct-panel-seat-pricing dd > span {
display: inline;
margin-left: 8px;
font-size: 0.75rem;
}
.fct-panel-seat-pricing .m-billing-note {
min-height: 0;
margin-block: 12px 22px;
}
.fct-panel-seat-pricing .m-team-estimator {
grid-template-columns: 1fr;
gap: 28px;
padding: 24px;
}
.fct-panel-seat-pricing .m-team-estimator > div > p:not(.m-kicker) {
max-width: none;
}
.fct-panel-seat-pricing .m-team-total output {
font-size: 2.35rem;
}
}
Copy JavaScript (() => {
for (const root of document.querySelectorAll('[data-snippet="panel-seat-pricing"]')) {
if (root.dataset.initialized) continue;
root.dataset.initialized = "true";
const rates = {
team: { monthly: [18, 6, 0], annual: [15, 5, 0] },
organization: { monthly: [30, 10, 0], annual: [25, 8, 0] },
},
form = root.querySelector("form"),
money = (n) =>
new Intl.NumberFormat("en-IE", {
style: "currency",
currency: "EUR",
maximumFractionDigits: 0,
}).format(n);
root.querySelector(".m-billing").disabled = false;
form.querySelector("fieldset").disabled = false;
const update = () => {
const period = root.querySelector(".m-billing input:checked").value;
for (const plan of Object.keys(rates)) {
for (let i = 0; i < 3; i++)
root.querySelector('[data-seat-rate="' + plan + "-" + i + '"]').textContent = money(
rates[plan][period][i],
);
root.querySelector('[data-seat-note="' + plan + '"]').textContent =
period === "annual"
? "Monthly equivalent per person; 12 months paid upfront."
: "Billed monthly per active paid seat.";
}
for (const input of form.querySelectorAll("input"))
input.setAttribute("aria-invalid", String(!input.validity.valid));
if (!form.checkValidity()) {
root.querySelector("[data-team-total]").textContent = "—";
root.querySelector("[data-team-billed]").textContent = "";
root.querySelector("[role=status]").textContent =
"Enter whole numbers from 0 to 1,000 for builders and reviewers.";
return;
}
const plan = form.elements.plan.value,
builders = Number(form.elements.builders.value),
reviewers = Number(form.elements.reviewers.value),
monthly = builders * rates[plan][period][0] + reviewers * rates[plan][period][1],
annual = period === "annual";
root.querySelector("[data-team-total]").textContent = money(monthly);
root.querySelector("[data-team-period]").textContent = annual
? "monthly equivalent"
: "per month";
root.querySelector("[data-team-billed]").textContent =
money(annual ? monthly * 12 : monthly) +
" billed " +
(annual ? "annually" : "monthly") +
" for " +
builders +
" builders and " +
reviewers +
" reviewers.";
root.querySelector("[role=status]").textContent =
"Sample " +
(plan === "team" ? "Team" : "Organization") +
" " +
period +
" rates selected. Viewers are €0.";
};
for (const input of root.querySelectorAll(".m-billing input"))
input.addEventListener("change", update);
form.addEventListener("submit", (e) => e.preventDefault());
form.addEventListener("input", update);
form.addEventListener("change", update);
update();
}
})();
Copy Astro ---
// Original reusable section. Use unique IDs, selectors and radio names before duplicating.
---
<section
class="fct-panel-seat-pricing"
data-snippet="panel-seat-pricing"
aria-labelledby="fct-panel-seat-pricing-title"
>
<div class="m-inner">
<header class="m-panel-heading">
<div>
<p class="m-kicker">PANEL / COLLABORATIVE WORKSPACE</p>
<h2 id="fct-panel-seat-pricing-title">Give each person<br />the right kind of seat.</h2>
<p class="m-lead">Builders create. Reviewers give feedback. Viewers follow the work.</p>
</div>
<fieldset class="m-billing" disabled>
<legend>Paid-plan billing</legend>
<label
><input type="radio" name="fct-panel-seat-pricing-billing" value="monthly" checked />
Monthly</label
><label
><input type="radio" name="fct-panel-seat-pricing-billing" value="annual" /> Annual</label
>
</fieldset>
</header>
<div class="m-seat-plans">
<article class="m-seat-plan m-free">
<header>
<h3>Free</h3>
<p>Try a small shared project.</p>
</header>
<dl>
<div>
<dt><span class="m-role-icon m-role-0" aria-hidden="true">B</span>Builder</dt>
<dd><strong data-seat-rate="free-0">€0</strong><span>/ person / mo</span></dd>
</div>
<div>
<dt><span class="m-role-icon m-role-1" aria-hidden="true">R</span>Reviewer</dt>
<dd><strong data-seat-rate="free-1">—</strong><span>not included</span></dd>
</div>
<div>
<dt><span class="m-role-icon m-role-2" aria-hidden="true">V</span>Viewer</dt>
<dd><strong data-seat-rate="free-2">€0</strong><span>/ person / mo</span></dd>
</div>
</dl>
<p class="m-billing-note" data-seat-note="free">
No subscription charge. Includes two builders.
</p>
<a class="m-button" href="signup.html?plan=free"
>Choose Free<span aria-hidden="true">→</span></a
>
<h4>Included</h4>
<ul>
<li>Two builders</li>
<li>One shared project</li>
<li>Unlimited viewers</li>
</ul>
</article>
<article class="m-seat-plan m-team">
<header>
<h3>Team</h3>
<p>A workspace for regular collaboration.</p>
</header>
<dl>
<div>
<dt><span class="m-role-icon m-role-0" aria-hidden="true">B</span>Builder</dt>
<dd><strong data-seat-rate="team-0">€18</strong><span>/ person / mo</span></dd>
</div>
<div>
<dt><span class="m-role-icon m-role-1" aria-hidden="true">R</span>Reviewer</dt>
<dd><strong data-seat-rate="team-1">€6</strong><span>/ person / mo</span></dd>
</div>
<div>
<dt><span class="m-role-icon m-role-2" aria-hidden="true">V</span>Viewer</dt>
<dd><strong data-seat-rate="team-2">€0</strong><span>/ person / mo</span></dd>
</div>
</dl>
<p class="m-billing-note" data-seat-note="team">Billed monthly per active paid seat.</p>
<a class="m-button" href="signup.html?plan=team"
>Choose Team<span aria-hidden="true">→</span></a
>
<h4>Included</h4>
<ul>
<li>Shared team libraries</li>
<li>Unlimited projects</li>
<li>Role-based access</li>
</ul>
</article>
<article class="m-seat-plan m-organization">
<header>
<h3>Organization</h3>
<p>Coordinate work across several teams.</p>
</header>
<dl>
<div>
<dt><span class="m-role-icon m-role-0" aria-hidden="true">B</span>Builder</dt>
<dd><strong data-seat-rate="organization-0">€30</strong><span>/ person / mo</span></dd>
</div>
<div>
<dt><span class="m-role-icon m-role-1" aria-hidden="true">R</span>Reviewer</dt>
<dd><strong data-seat-rate="organization-1">€10</strong><span>/ person / mo</span></dd>
</div>
<div>
<dt><span class="m-role-icon m-role-2" aria-hidden="true">V</span>Viewer</dt>
<dd><strong data-seat-rate="organization-2">€0</strong><span>/ person / mo</span></dd>
</div>
</dl>
<p class="m-billing-note" data-seat-note="organization">
Billed monthly per active paid seat.
</p>
<a class="m-button" href="signup.html?plan=organization"
>Choose Organization<span aria-hidden="true">→</span></a
>
<h4>Included</h4>
<ul>
<li>Everything in Team</li>
<li>Organization libraries</li>
<li>Central member management</li>
</ul>
</article>
</div>
<section class="m-team-estimator" aria-labelledby="fct-panel-seat-pricing-estimate">
<div>
<p class="m-kicker">PLAN YOUR TEAM</p>
<h3 id="fct-panel-seat-pricing-estimate">Add up the seats you need.</h3>
<p>
Viewers are €0 in these example plans. Your total depends on builders, reviewers and the
selected billing period.
</p>
</div>
<div>
<form data-seat-form>
<fieldset disabled>
<legend>Example team composition</legend>
<label
>Plan<select name="plan">
<option value="team">Team</option>
<option value="organization">Organization</option>
</select></label
>
<div class="m-seat-inputs">
<label
>Builders<input
type="number"
name="builders"
min="0"
max="1000"
step="1"
value="2"
required
inputmode="numeric" /></label
><label
>Reviewers<input
type="number"
name="reviewers"
min="0"
max="1000"
step="1"
value="3"
required
inputmode="numeric"
/></label>
</div>
</fieldset>
</form>
<div class="m-team-total">
<output data-team-total>€54</output><span data-team-period>per month</span>
</div>
<p class="m-note m-team-billed" data-team-billed>
€54 billed monthly for 2 builders and 3 reviewers.
</p>
<p class="m-team-status m-note" role="status">Sample Team monthly rates selected.</p>
</div>
</section>
<details class="m-seat-definitions">
<summary>What is the difference between the seat roles?</summary>
<p>
A builder can create and edit work. A reviewer can comment and approve. A viewer can read
shared work. These are example permissions; replace them with the roles your product
actually supports. The Free example includes two builders and viewers; reviewer seats are
not included.
</p>
</details>
<noscript
><p class="m-note">
Controls require JavaScript and remain disabled without it. The visible rates and €54 team
example use monthly Team pricing.
</p></noscript
>
<p class="m-note m-disclaimer">
Sample prices and permissions. Taxes, proration and service terms must be specified. This
component does not create seats, accounts or subscriptions.
</p>
</div>
</section>
<style is:global>
.fct-panel-seat-pricing {
--ink: #202a36;
--muted: #526174;
--line: #d6dfe6;
--accent: #1d55ac;
color: var(--ink);
background: #fff;
font:
16px/1.55 Arial,
Helvetica,
sans-serif;
}
.fct-panel-seat-pricing,
.fct-panel-seat-pricing * {
box-sizing: border-box;
}
.fct-panel-seat-pricing :is(h2, h3, h4, p, ul, dl, dd, figure) {
margin: 0;
}
.fct-panel-seat-pricing :is(h2, h3, h4) {
line-height: 1.12;
letter-spacing: -0.035em;
}
.fct-panel-seat-pricing h2 {
font-size: clamp(2rem, 4.5vw, 3.75rem);
}
.fct-panel-seat-pricing h3 {
font-size: 1.5rem;
}
.fct-panel-seat-pricing .m-inner {
max-width: 1200px;
margin: auto;
padding: 60px clamp(20px, 4vw, 60px);
}
.fct-panel-seat-pricing .m-kicker {
font-size: 0.8125rem;
letter-spacing: 0.04em;
font-weight: 700;
margin-bottom: 18px;
}
.fct-panel-seat-pricing .m-lead {
font-size: 1.125rem;
color: var(--muted);
max-width: 57ch;
margin-top: 20px;
}
.fct-panel-seat-pricing a {
color: var(--accent);
text-underline-offset: 4px;
}
.fct-panel-seat-pricing :is(input, select, button) {
font: inherit;
color: inherit;
}
.fct-panel-seat-pricing :is(a, button, input, select, summary):focus-visible {
outline: 3px solid #b44b03;
outline-offset: 4px;
}
.fct-panel-seat-pricing .m-button {
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: 18px;
padding: 12px 20px;
min-height: 48px;
border: 1px solid transparent;
border-radius: 4px;
background: var(--accent);
color: white;
font-size: 0.9375rem;
font-weight: 700;
text-decoration: none;
}
.fct-panel-seat-pricing .m-note {
font-size: 0.8125rem;
color: var(--muted);
}
.fct-panel-seat-pricing summary {
min-height: 48px;
align-content: center;
cursor: pointer;
font-size: 0.9375rem;
font-weight: 700;
}
.fct-panel-seat-pricing details > p {
padding: 12px 0 20px;
color: var(--muted);
font-size: 0.9375rem;
}
.fct-panel-seat-pricing [hidden] {
display: none !important;
}
@media (max-width: 700px) {
.fct-panel-seat-pricing .m-inner {
padding-block: 36px;
}
}
.fct-panel-seat-pricing {
--ink: #202020;
--muted: #5a5a5a;
--line: #d6d6d6;
--accent: #202020;
}
.fct-panel-seat-pricing .m-inner {
max-width: 1320px;
}
.fct-panel-seat-pricing .m-panel-heading {
display: flex;
justify-content: space-between;
align-items: end;
gap: 40px;
margin-bottom: 40px;
}
.fct-panel-seat-pricing h2 {
font-weight: 400;
font-size: clamp(2.5rem, 5.5vw, 4.75rem);
line-height: 1.03;
letter-spacing: -0.055em;
}
.fct-panel-seat-pricing .m-lead {
font-size: 1rem;
max-width: 600px;
}
.fct-panel-seat-pricing .m-billing {
display: flex;
gap: 14px;
margin: 0;
padding: 9px 14px 12px;
border: 1px solid #ccc;
border-radius: 4px;
flex: none;
}
.fct-panel-seat-pricing legend {
font-size: 0.75rem;
padding-inline: 5px;
color: var(--muted);
}
.fct-panel-seat-pricing .m-billing label {
display: flex;
align-items: center;
gap: 7px;
min-height: 32px;
font-size: 0.875rem;
cursor: pointer;
}
.fct-panel-seat-pricing input[type="radio"] {
width: 17px;
height: 17px;
accent-color: #202020;
margin: 0;
}
.fct-panel-seat-pricing .m-seat-plans {
display: grid;
grid-template-columns: 0.85fr 1fr 1fr;
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
}
.fct-panel-seat-pricing .m-seat-plan {
padding: 0 26px 28px;
border-left: 1px solid #d6d6d6;
min-width: 0;
}
.fct-panel-seat-pricing .m-seat-plan:last-child {
border-right: 1px solid #d6d6d6;
}
.fct-panel-seat-pricing .m-seat-plan > header {
padding: 24px 0;
min-height: 148px;
}
.fct-panel-seat-pricing .m-seat-plan h3 {
font-size: 1.8rem;
font-weight: 400;
letter-spacing: -0.03em;
}
.fct-panel-seat-pricing .m-seat-plan header p {
font-size: 0.875rem;
color: var(--muted);
margin-top: 12px;
max-width: 28ch;
}
.fct-panel-seat-pricing .m-team > header {
box-shadow: inset 0 5px #a99bd1;
}
.fct-panel-seat-pricing .m-organization > header {
box-shadow: inset 0 5px #e2be55;
}
.fct-panel-seat-pricing dl > div {
display: flex;
justify-content: space-between;
gap: 14px;
align-items: center;
padding: 20px 0;
border-top: 1px solid #e3e3e3;
}
.fct-panel-seat-pricing dt {
display: flex;
align-items: center;
gap: 9px;
font-size: 0.875rem;
}
.fct-panel-seat-pricing .m-role-icon {
display: grid;
place-items: center;
width: 23px;
height: 23px;
border-radius: 4px;
background: #d9eef5;
font: 700 11px/1 monospace;
color: #17445d;
}
.fct-panel-seat-pricing .m-role-1 {
background: #ede5fa;
color: #593680;
}
.fct-panel-seat-pricing .m-role-2 {
background: #edf0d8;
color: #44561d;
}
.fct-panel-seat-pricing dd {
text-align: right;
white-space: nowrap;
}
.fct-panel-seat-pricing dd strong {
font-size: 1.125rem;
font-weight: 400;
letter-spacing: -0.03em;
}
.fct-panel-seat-pricing dd > span {
display: block;
font-size: 0.6875rem;
color: var(--muted);
}
.fct-panel-seat-pricing .m-billing-note {
font-size: 0.75rem;
color: var(--muted);
min-height: 3em;
margin: 3px 0 20px;
}
.fct-panel-seat-pricing .m-button {
display: flex;
width: 100%;
margin-bottom: 26px;
}
.fct-panel-seat-pricing .m-free .m-button {
background: white;
border-color: #202020;
color: #202020;
}
.fct-panel-seat-pricing h4 {
font-size: 0.875rem;
letter-spacing: 0;
margin-bottom: 16px;
}
.fct-panel-seat-pricing ul {
list-style: none;
padding: 0;
display: grid;
gap: 13px;
font-size: 0.875rem;
}
.fct-panel-seat-pricing li {
position: relative;
padding-left: 21px;
}
.fct-panel-seat-pricing li:before {
content: "✓";
position: absolute;
left: 0;
font-size: 0.8125rem;
}
.fct-panel-seat-pricing .m-team-estimator {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 80px;
background: #f5f5f3;
border: 1px solid #ddd;
margin-top: 35px;
padding: 32px;
}
.fct-panel-seat-pricing .m-team-estimator h3 {
font-weight: 400;
font-size: 1.75rem;
}
.fct-panel-seat-pricing .m-team-estimator > div > p:not(.m-kicker) {
font-size: 0.9375rem;
color: var(--muted);
margin-top: 16px;
max-width: 40ch;
}
.fct-panel-seat-pricing form fieldset {
border: 0;
padding: 0;
margin: 0;
min-width: 0;
}
.fct-panel-seat-pricing form legend {
padding: 0;
margin-bottom: 12px;
}
.fct-panel-seat-pricing form label {
display: grid;
gap: 8px;
font-size: 0.8125rem;
}
.fct-panel-seat-pricing form :is(input, select) {
min-height: 46px;
padding: 8px 12px;
background: #fff;
border: 1px solid #aaa;
border-radius: 3px;
min-width: 0;
width: 100%;
font-size: 1rem;
}
.fct-panel-seat-pricing form input[aria-invalid="true"] {
border-color: #b23b18;
}
.fct-panel-seat-pricing .m-seat-inputs {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
margin-top: 15px;
}
.fct-panel-seat-pricing .m-team-total {
display: flex;
gap: 12px;
align-items: baseline;
margin-top: 25px;
}
.fct-panel-seat-pricing .m-team-total output {
font-size: 2.6rem;
letter-spacing: -0.055em;
line-height: 1.1;
overflow-wrap: anywhere;
}
.fct-panel-seat-pricing .m-team-total span {
font-size: 0.8125rem;
color: var(--muted);
}
.fct-panel-seat-pricing .m-team-billed {
margin-top: 10px;
min-height: 3em;
}
.fct-panel-seat-pricing .m-team-status {
min-height: 3em;
margin-top: 10px !important;
font-size: 0.8125rem !important;
}
.fct-panel-seat-pricing .m-seat-definitions {
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
margin-top: 28px;
}
.fct-panel-seat-pricing .m-disclaimer {
padding-top: 24px;
margin-top: 24px;
border-top: 1px solid #ddd;
}
@media (max-width: 800px) {
.fct-panel-seat-pricing .m-panel-heading {
display: block;
}
.fct-panel-seat-pricing .m-billing {
margin-top: 25px;
width: fit-content;
}
.fct-panel-seat-pricing .m-seat-plans {
grid-template-columns: 1fr;
}
.fct-panel-seat-pricing .m-seat-plan {
padding: 0 24px 28px;
border-right: 1px solid #d6d6d6;
}
.fct-panel-seat-pricing .m-seat-plan + .m-seat-plan {
border-top: 1px solid #aaa;
}
.fct-panel-seat-pricing .m-seat-plan > header {
min-height: 0;
padding-block: 25px;
}
.fct-panel-seat-pricing .m-seat-plan header p {
max-width: none;
}
.fct-panel-seat-pricing dd > span {
display: inline;
margin-left: 8px;
font-size: 0.75rem;
}
.fct-panel-seat-pricing .m-billing-note {
min-height: 0;
margin-block: 12px 22px;
}
.fct-panel-seat-pricing .m-team-estimator {
grid-template-columns: 1fr;
gap: 28px;
padding: 24px;
}
.fct-panel-seat-pricing .m-team-estimator > div > p:not(.m-kicker) {
max-width: none;
}
.fct-panel-seat-pricing .m-team-total output {
font-size: 2.35rem;
}
}
</style>
<script is:inline>
(() => {
for (const root of document.querySelectorAll('[data-snippet="panel-seat-pricing"]')) {
if (root.dataset.initialized) continue;
root.dataset.initialized = "true";
const rates = {
team: { monthly: [18, 6, 0], annual: [15, 5, 0] },
organization: { monthly: [30, 10, 0], annual: [25, 8, 0] },
},
form = root.querySelector("form"),
money = (n) =>
new Intl.NumberFormat("en-IE", {
style: "currency",
currency: "EUR",
maximumFractionDigits: 0,
}).format(n);
root.querySelector(".m-billing").disabled = false;
form.querySelector("fieldset").disabled = false;
const update = () => {
const period = root.querySelector(".m-billing input:checked").value;
for (const plan of Object.keys(rates)) {
for (let i = 0; i < 3; i++)
root.querySelector('[data-seat-rate="' + plan + "-" + i + '"]').textContent = money(
rates[plan][period][i],
);
root.querySelector('[data-seat-note="' + plan + '"]').textContent =
period === "annual"
? "Monthly equivalent per person; 12 months paid upfront."
: "Billed monthly per active paid seat.";
}
for (const input of form.querySelectorAll("input"))
input.setAttribute("aria-invalid", String(!input.validity.valid));
if (!form.checkValidity()) {
root.querySelector("[data-team-total]").textContent = "—";
root.querySelector("[data-team-billed]").textContent = "";
root.querySelector("[role=status]").textContent =
"Enter whole numbers from 0 to 1,000 for builders and reviewers.";
return;
}
const plan = form.elements.plan.value,
builders = Number(form.elements.builders.value),
reviewers = Number(form.elements.reviewers.value),
monthly = builders * rates[plan][period][0] + reviewers * rates[plan][period][1],
annual = period === "annual";
root.querySelector("[data-team-total]").textContent = money(monthly);
root.querySelector("[data-team-period]").textContent = annual
? "monthly equivalent"
: "per month";
root.querySelector("[data-team-billed]").textContent =
money(annual ? monthly * 12 : monthly) +
" billed " +
(annual ? "annually" : "monthly") +
" for " +
builders +
" builders and " +
reviewers +
" reviewers.";
root.querySelector("[role=status]").textContent =
"Sample " +
(plan === "team" ? "Team" : "Organization") +
" " +
period +
" rates selected. Viewers are €0.";
};
for (const input of root.querySelectorAll(".m-billing input"))
input.addEventListener("change", update);
form.addEventListener("submit", (e) => e.preventDefault());
form.addEventListener("input", update);
form.addEventListener("change", update);
update();
}
})();
</script>
Code tabs need JavaScript. All source formats are included in the open downloads.