'use client' import { ChevronDownIcon } from '@heroicons/react/outline' import React, { useState } from 'react' import { plans as allPlans } from 'shared-data/plans' import { Button, cn, ToggleGroup, ToggleGroupItem } from 'ui' import Panel from '../Panel' import ComputePricingCalculator from './ComputePricingCalculator' import ComputePricingTable from './ComputePricingTable' import PricingComputeAnimation from './PricingComputeAnimation' import { Check } from './PricingIcons' const plans = allPlans .filter((plan) => plan.planId === 'pro' || plan.planId === 'team') .map((plan) => ({ name: plan.name, price: plan.priceMonthly as number, })) const PLAN_HIGHLIGHTS: Record = { Pro: { preface: 'Everything in the Free Plan, plus:', features: [ '100K monthly active users', '8 GB disk size per project', '250 GB bandwidth', 'Daily backups (7 day retention)', 'Email support', ], }, Team: { preface: 'Everything in the Pro Plan, plus:', features: [ 'SOC2 & ISO 27001', 'Project-scoped and read-only access', 'HIPAA available as paid add-on', 'SSO for Supabase Dashboard', 'Priority email support & SLAs', 'Daily backups (14 day retention)', ], }, } const PricingComputeSection = () => { const [showTable, setShowTable] = useState(false) const [activePlan, setActivePlan] = useState(plans[0]) const handleTableToggle = () => setShowTable((isShown) => !isShown) return (

1. Choose your plan

{ const selectedPlan = plans.find((p) => p.name === value) if (selectedPlan) setActivePlan(selectedPlan) }} className="bg-surface-200" > {plans.map((plan) => ( {plan.name} ))}

{activePlan.name}

${activePlan.price} /month

{PLAN_HIGHLIGHTS[activePlan.name] ? ( <>

{PLAN_HIGHLIGHTS[activePlan.name].preface}

    {PLAN_HIGHLIGHTS[activePlan.name].features.map((feature) => (
  • {feature}
  • ))}
) : null}

Paid plans include $10/mo in compute credits, enough to cover one Micro instance.

2. Configure compute for your projects

Add projects and adjust compute to estimate your monthly cost.