Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: adjust access control pricing + tooltips (#33298)

Kevin Grüneberg3be233f1e446
diff --git a/apps/www/components/Pricing/ComputePricingCalculator.tsx b/apps/www/components/Pricing/ComputePricingCalculator.tsx
index 54bdf7c0298..c22e6fcfc65 100644
--- a/apps/www/components/Pricing/ComputePricingCalculator.tsx
+++ b/apps/www/components/Pricing/ComputePricingCalculator.tsx
@@ -11,6 +11,7 @@ import {
cn,
} from 'ui'
import { ComputeBadge } from 'ui-patterns/ComputeBadge'
+import { InfoTooltip } from 'ui-patterns/info-tooltip'
import pricingAddOn from '~/data/PricingAddOnTable.json'
const plans = [
@@ -210,10 +211,10 @@ const ComputePricingCalculator = () => {
<div className="flex items-center gap-1 w-full justify-between">
<span>Total Estimate</span>
<span className="text-foreground font-mono flex items-center gap-1">
- <InformationCircleIcon
- data-tip="This estimate only includes Plan and Compute add-on monthly costs. Other resources might concur in the final invoice."
- className="w-3 h-3"
- />{' '}
+ <InfoTooltip side="top" className="max-w-[250px]">
+ This estimate only includes Plan and Compute add-on monthly costs. Other resources
+ might concur in the final invoice.
+ </InfoTooltip>
${activePrice}
</span>
</div>
diff --git a/apps/www/components/Pricing/PricingIcons.tsx b/apps/www/components/Pricing/PricingIcons.tsx
index 042f470fc05..076111ddf73 100644
--- a/apps/www/components/Pricing/PricingIcons.tsx
+++ b/apps/www/components/Pricing/PricingIcons.tsx
@@ -35,23 +35,3 @@ export const IconPricingMinus = (props: any) => (
<span className="sr-only">Not included in {props.plan}</span>
</>
)
-
-export const IconPricingInfo = () => (
- <>
- <svg
- className="text-muted -ml-0.5"
- xmlns="http://www.w3.org/2000/svg"
- width="24"
- height="24"
- fill="none"
- >
- <path
- fill="currentColor"
- fillRule="evenodd"
- d="M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm.724-11.97c0 .463-.328.764-.774.764-.436 0-.773-.3-.773-.764s.337-.783.774-.783c.445 0 .773.319.773.783Zm1.455 6.194H9.877v-.855h1.628v-2.956H9.877v-.828h2.674v3.784h1.628v.855Z"
- clipRule="evenodd"
- />
- </svg>
- <span className="sr-only">Info</span>
- </>
-)
diff --git a/apps/www/components/Pricing/PricingTableRow.tsx b/apps/www/components/Pricing/PricingTableRow.tsx
index e69774d0061..2c81ea4531e 100644
--- a/apps/www/components/Pricing/PricingTableRow.tsx
+++ b/apps/www/components/Pricing/PricingTableRow.tsx
@@ -1,7 +1,112 @@
import ProductIcon from 'components/ProductIcon'
-import { Fragment } from 'react'
-import { IconPricingIncludedCheck, IconPricingInfo, IconPricingMinus } from './PricingIcons'
-import { HelpCircle } from 'lucide-react'
+import { Fragment, ReactNode } from 'react'
+import { IconPricingIncludedCheck, IconPricingMinus } from './PricingIcons'
+import { InfoTooltip } from 'ui-patterns/info-tooltip'
+import { FeatureKey } from 'shared-data/pricing'
+import Link from 'next/link'
+
+type PricingTooltips = {
+ [key in FeatureKey]?: {
+ main?: ReactNode
+ pro?: ReactNode
+ team?: ReactNode
+ enterprise?: ReactNode
+ }
+}
+
+export const pricingTooltips: PricingTooltips = {
+ 'database.dedicatedPostgresDatabase': {
+ main: 'A Postgres database with no restrictions? You get it. No pseudo limited users, you are the postgres root user. No caveats.',
+ },
+ 'database.size': {
+ main: 'Billing is based on the provisioned disk size. Paid plan projects get provisioned with 8 GB of disk by default and autoscale to 1.5x the size once you get close to the limit. The first 8 GB of disk per project comes with no additional fees.\nFree plan customers are limited to 500 MB database size per project.',
+ },
+ 'database.advancedDiskConfig': {
+ main: 'Supabase databases are backed by high performance SSD disks. The disk can be scaled up to 60 TB, 80,000 IOPS and 4,000 Mbps throughput.',
+ },
+ 'database.automaticBackups': {
+ main: 'Backups are entire copies of your database that can be restored in the future.',
+ pro: '7 days of backup (if > 1 TB, contact for Enterprise pricing)',
+ team: '14 days of backup (if > 1 TB, contact for Enterprise pricing)',
+ },
+ 'database.pitr': {
+ main: 'PITR cannot be applied retroactively, projects can only be rolled back to the point from which PITR has been applied.',
+ },
+ 'database.pausing': {
+ main: 'Projects that have no activity or API requests will be paused. They can be reactivated via the dashboard.',
+ },
+
+ 'database.bandwidth': {
+ main: 'Billing is based on the total sum of all outgoing traffic (includes Database, Storage, Realtime, Auth, API, Edge Functions, Supavisor, Log Drains) in GB throughout your billing period.',
+ },
+ 'auth.totalUsers': {
+ main: 'The maximum number of users your project can have',
+ },
+ 'auth.maus': {
+ main: 'Users who log in or refresh their token count towards MAU.\nBilling is based on the sum of distinct users requesting your API throughout the billing period. Resets every billing cycle.',
+ },
+ 'auth.userDataOwnership': {
+ main: 'Full ownership and access to the underlying user data including encrypted passwords.',
+ },
+ 'auth.anonSignIns': {
+ main: 'Anonymous user requests count towards MAU, just like a permanent user.',
+ },
+
+ 'auth.basicMFA': {
+ main: 'Multi-factor authentication (MFA), sometimes called two-factor authentication (2FA), using Time-based One Time Passwords (TOTP) via an Authenticator App.',
+ },
+ 'auth.advancedMFAPhone': {
+ main: 'Multi-factor authentication (MFA), sometimes called two-factor authentication (2FA), using SMS or WhatsApp messages.\nAdditional fees apply based on your provider.',
+ },
+ 'auth.thirdPartyMAUs': {
+ main: 'Users who use the Supabase platform through a third-party authentication provider (Firebase Auth, Auth0 or Cognito).\nBilling is based on the sum of distinct third-party users requesting your API through the billing period. Resets every billing cycle.',
+ },
+ 'storage.size': {
+ main: "The sum of all objects' size in your storage buckets.\nBilling is prorated down to the hour and will be displayed as GB-Hrs on your invoice.",
+ },
+
+ 'storage.maxFileSize': {
+ main: 'You can change the upload size in the dashboard',
+ },
+ 'storage.cdn': {
+ main: 'Assets in Storage are automatically cached on a CDN. With Smart CDN caching enabled, the CDN cache is automatically re-validated when the underlying asset changes. CDN caching is enabled across all plans and assets in the paid plans are cached via the Smart CDN.',
+ },
+ 'storage.transformations': {
+ main: 'We count all images that were transformed in the billing period, ignoring any transformations.\nUsage example: You transform one image with four different size transformations and another image with just a single transformation. It counts as two, as only two images were transformed.\nBilling is based on the count of (origin) images that used transformations throughout the billing period. Resets every billing cycle.',
+ },
+ 'functions.invocations': {
+ main: 'Billing is based on the sum of all invocations, independent of response status, throughout your billing period.',
+ },
+ 'realtime.concurrentConnections': {
+ main: 'Total number of successful connections. Connections attempts are not counted towards usage.\nBilling is based on the maximum amount of concurrent peak connections throughout your billing period.',
+ },
+ 'realtime.messagesPerMonth': {
+ main: "Count of messages going through Realtime. Includes database changes, broadcast and presence. \nUsage example: If you do a database change and 5 clients listen to that change via Realtime, that's 5 messages. If you broadcast a message and 4 clients listen to that, that's 5 messages (1 message sent, 4 received).\nBilling is based on the total amount of messages throughout your billing period.",
+ },
+ 'security.logDrain': {
+ main: 'Only events processed and sent to destinations are counted. Bandwidth required to export logs count towards usage.\nEgress through Log Drains is rolled up into the unified egress and benefits from the unified egress quota.',
+ },
+ 'security.hipaa': {
+ main: 'Available as a paid add-on on Team Plan and above.',
+ },
+
+ 'security.accessRoles': {
+ main: (
+ <span className="prose text-xs">
+ Supabase provides granular access controls to manage permissions across your organizations
+ and projects. Read more in our{' '}
+ <Link href="/docs/guides/platform/access-control" target="_blank">
+ docs
+ </Link>
+ .
+ </span>
+ ),
+ },
+
+ 'security.customDomains': {
+ enterprise: 'Volume discounts available.',
+ },
+}
export const PricingTableRowDesktop = (props: any) => {
const category = props.category
@@ -29,6 +134,8 @@ export const PricingTableRowDesktop = (props: any) => {
</tr>
{category.features.map((feat: any, i: number) => {
+ const tooltips = pricingTooltips[feat.key as FeatureKey]
+
return (
<Fragment key={feat.title}>
<tr className="divide-border" key={i}>
@@ -36,19 +143,16 @@ export const PricingTableRowDesktop = (props: any) => {
className={`text-foreground flex items-center px-6 py-5 last:pb-24 text-left text-xs font-normal `}
scope="row"
>
- <span>{feat.title}</span>
- {feat.tooltips?.main && (
- <span
- className="text-muted hover:text-foreground ml-2 cursor-pointer transition-colors"
- data-tip={feat.tooltips.main}
- >
- <HelpCircle size={14} strokeWidth={2} />
- </span>
+ <span className="mr-1">{feat.title}</span>
+ {tooltips?.main && (
+ <InfoTooltip side="top" className="max-w-[250px]">
+ {tooltips.main}
+ </InfoTooltip>
)}
</th>
{Object.entries(feat.plans).map((entry: any, i) => {
- const planName = entry[0]
+ const planName = entry[0] as 'pro' | 'team' | 'enterprise'
const planValue = entry[1]
return (
@@ -68,13 +172,10 @@ export const PricingTableRowDesktop = (props: any) => {
) : (
<div className="text-foreground text-xs flex flex-col justify-center">
<span className="flex items-center gap-2">
- {feat.tooltips?.[planName] && (
- <span
- className="shrink-0 hover:text-background-overlay-default cursor-pointer transition-colors"
- data-tip={feat.tooltips[planName]}
- >
- <IconPricingInfo />
- </span>
+ {tooltips?.[planName] && (
+ <InfoTooltip side="top" className="max-w-[250px]">
+ {tooltips[planName]}
+ </InfoTooltip>
)}
{typeof planValue === 'string' ? planValue : planValue[0]}
</span>
diff --git a/apps/www/package.json b/apps/www/package.json
index d20c1ab23fb..57ab710fe05 100644
--- a/apps/www/package.json
+++ b/apps/www/package.json
@@ -61,7 +61,6 @@
"react-dom": "^18.2.0",
"react-markdown": "^8.0.3",
"react-syntax-highlighter": "^15.5.0",
- "react-tooltip": "^4.2.17",
"react-transition-group": "^4.4.1",
"react-use": "^17.4.0",
"recharts": "^2.8.0",
diff --git a/apps/www/pages/_app.tsx b/apps/www/pages/_app.tsx
index 5e10bd6f589..93020054f3e 100644
--- a/apps/www/pages/_app.tsx
+++ b/apps/www/pages/_app.tsx
@@ -13,7 +13,7 @@ import { DefaultSeo } from 'next-seo'
import { AppProps } from 'next/app'
import Head from 'next/head'
import { useRouter } from 'next/router'
-import { SonnerToaster, themes } from 'ui'
+import { SonnerToaster, themes, TooltipProvider } from 'ui'
import { CommandProvider } from 'ui-patterns/CommandMenu'
import { useConsent } from 'ui-patterns/ConsentToast'
@@ -91,12 +91,14 @@ export default function App({ Component, pageProps }: AppProps) {
disableTransitionOnChange
forcedTheme={forceDarkMode ? 'dark' : undefined}
>
- <CommandProvider>
- <SonnerToaster position="top-right" />
- <Component {...pageProps} />
- <WwwCommandMenu />
- <PageTelemetry API_URL={API_URL} hasAcceptedConsent={hasAcceptedConsent} />
- </CommandProvider>
+ <TooltipProvider delayDuration={0}>
+ <CommandProvider>
+ <SonnerToaster position="top-right" />
+ <Component {...pageProps} />
+ <WwwCommandMenu />
+ <PageTelemetry API_URL={API_URL} hasAcceptedConsent={hasAcceptedConsent} />
+ </CommandProvider>
+ </TooltipProvider>
</ThemeProvider>
</FeatureFlagProvider>
</AuthProvider>
diff --git a/apps/www/pages/index.tsx b/apps/www/pages/index.tsx
index df0fde90318..b5daa669d18 100644
--- a/apps/www/pages/index.tsx
+++ b/apps/www/pages/index.tsx
@@ -11,7 +11,6 @@ const BuiltWithSupabase = dynamic(() => import('components/BuiltWithSupabase'))
const DashboardFeatures = dynamic(() => import('~/components/DashboardFeatures'))
const TwitterSocialSection = dynamic(() => import('~/components/TwitterSocialSection'))
const CTABanner = dynamic(() => import('components/CTABanner/index'))
-const ReactTooltip = dynamic(() => import('react-tooltip'), { ssr: false })
const Index = () => {
return (
@@ -25,14 +24,6 @@ const Index = () => {
<DashboardFeatures {...content.dashboardFeatures} />
<TwitterSocialSection />
<CTABanner className="border-none" />
- <ReactTooltip
- effect="solid"
- place="bottom"
- backgroundColor="hsl(var(--background-alternative-default))"
- textColor="hsl(var(--foreground-light))"
- className="!max-w-[320px] !px-3 whitespace-pre-line"
- uuid="homepage-tt"
- />
</Layout>
)
}
diff --git a/apps/www/pages/pricing.tsx b/apps/www/pages/pricing.tsx
index f3df907926b..cf6930e66e9 100644
--- a/apps/www/pages/pricing.tsx
+++ b/apps/www/pages/pricing.tsx
@@ -3,8 +3,7 @@ import { ArrowUpRight } from 'lucide-react'
import { NextSeo } from 'next-seo'
import dynamic from 'next/dynamic'
import { useRouter } from 'next/router'
-import { useEffect, useState } from 'react'
-import ReactTooltip from 'react-tooltip'
+import { useEffect } from 'react'
import { Button } from 'ui'
import DefaultLayout from '~/components/Layouts/Default'
@@ -21,18 +20,11 @@ const PricingDiskSection = dynamic(() => import('~/components/Pricing/PricingDis
export default function IndexPage() {
const router = useRouter()
const { asPath } = useRouter()
- const [mounted, setMounted] = useState(false)
const meta_title = 'Pricing & Fees | Supabase'
const meta_description =
'Explore Supabase fees and pricing information. Find our competitive pricing Plans, with no hidden pricing. We have a generous Free Plan for those getting started, and Pay As You Go for those scaling up.'
- useEffect(() => {
- setTimeout(() => {
- setMounted(true)
- }, 200)
- }, [])
-
// Ability to scroll into pricing sections like storage
useEffect(() => {
/**
@@ -135,16 +127,6 @@ export default function IndexPage() {
<PricingFAQs />
</div>
<CTABanner />
- {mounted && (
- <ReactTooltip
- wrapper="span"
- effect="solid"
- backgroundColor="hsl(var(--background-alternative-default))"
- textColor="hsl(var(--foreground-light))"
- className="!max-w-[320px] !px-3 whitespace-pre-line"
- uuid="pricing-tt"
- />
- )}
</DefaultLayout>
)
}
diff --git a/packages/shared-data/pricing.ts b/packages/shared-data/pricing.ts
index cedda3f3e3d..c9e718a54c3 100644
--- a/packages/shared-data/pricing.ts
+++ b/packages/shared-data/pricing.ts
@@ -17,7 +17,7 @@ type PricingCategory = {
type PricingFeature = {
title: string
- tooltips?: { main?: string; pro?: string; team?: string; enterprise?: string }
+ key: FeatureKey
plans: {
free: boolean | string | string[]
pro: boolean | string | string[]
@@ -27,16 +27,75 @@ type PricingFeature = {
usage_based: boolean
}
+export type FeatureKey =
+ | 'database.dedicatedPostgresDatabase'
+ | 'database.unlimitedApiRequests'
+ | 'database.size'
+ | 'database.advancedDiskConfig'
+ | 'database.automaticBackups'
+ | 'database.pitr'
+ | 'database.pausing'
+ | 'database.branching'
+ | 'database.bandwidth'
+ | 'auth.totalUsers'
+ | 'auth.maus'
+ | 'auth.userDataOwnership'
+ | 'auth.anonSignIns'
+ | 'auth.socialOAuthProviders'
+ | 'auth.customSMTPServer'
+ | 'auth.removeSupabaseBranding'
+ | 'auth.auditTrails'
+ | 'auth.basicMFA'
+ | 'auth.advancedMFAPhone'
+ | 'auth.thirdPartyMAUs'
+ | 'auth.saml'
+ | 'auth.leakedPasswordProtection'
+ | 'auth.singleSessionPerUser'
+ | 'auth.sessionTimeouts'
+ | 'auth.authHooks'
+ | 'auth.advancedSecurityFeatures'
+ | 'storage.size'
+ | 'storage.customAccessControls'
+ | 'storage.maxFileSize'
+ | 'storage.cdn'
+ | 'storage.transformations'
+ | 'storage.byoc'
+ | 'functions.invocations'
+ | 'functions.scriptSize'
+ | 'functions.numberOfFunctions'
+ | 'realtime.postgresChanges'
+ | 'realtime.concurrentConnections'
+ | 'realtime.messagesPerMonth'
+ | 'realtime.maxMessageSize'
+ | 'dashboard.teamMembers'
+ | 'dashboard.auditTrails'
+ | 'security.byoc'
+ | 'security.logRetention'
+ | 'security.logDrain'
+ | 'security.metricsEndpoint'
+ | 'security.soc2'
+ | 'security.hipaa'
+ | 'security.sso'
+ | 'security.uptimeSla'
+ | 'security.accessRoles'
+ | 'security.vanityUrls'
+ | 'security.customDomains'
+ | 'support.communitySupport'
+ | 'support.emailSupport'
+ | 'support.emailSupportSla'
+ | 'support.designatedSupport'
+ | 'support.onBoardingSupport'
+ | 'support.designatedCustomerSuccessTeam'
+ | 'support.securityQuestionnaireHelp'
+
export const pricing: Pricing = {
database: {
title: 'Database',
icon: 'M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4',
features: [
{
+ key: 'database.dedicatedPostgresDatabase',
title: 'Dedicated Postgres Database',
- tooltips: {
- main: 'A Postgres database with no restrictions? You get it. No pseudo limited users, you are the postgres root user. No caveats.',
- },
plans: {
free: true,
pro: true,
@@ -46,6 +105,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'database.unlimitedApiRequests',
title: 'Unlimited API requests',
plans: {
free: true,
@@ -56,10 +116,8 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'database.size',
title: 'Database size',
- tooltips: {
- main: 'Billing is based on the provisioned disk size. Paid plan projects get provisioned with 8 GB of disk by default and autoscale to 1.5x the size once you get close to the limit. The first 8 GB of disk per project comes with no additional fees.\nFree plan customers are limited to 500 MB database size per project.',
- },
plans: {
free: '500 MB database size per project included',
pro: ['8 GB disk size per project included', 'then $0.125 per GB'],
@@ -69,10 +127,8 @@ export const pricing: Pricing = {
usage_based: true,
},
{
+ key: 'database.advancedDiskConfig',
title: 'Advanced disk config',
- tooltips: {
- main: 'Supabase databases are backed by high performance SSD disks. The disk can be scaled up to 60 TB, 80,000 IOPS and 4,000 Mbps throughput.',
- },
plans: {
free: false,
pro: true,
@@ -82,12 +138,8 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'database.automaticBackups',
title: 'Automatic backups',
- tooltips: {
- main: 'Backups are entire copies of your database that can be restored in the future.',
- pro: '7 days of backup (if > 1 TB, contact for Enterprise pricing)',
- team: '14 days of backup (if > 1 TB, contact for Enterprise pricing)',
- },
plans: {
free: false,
pro: '7 days',
@@ -97,10 +149,8 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'database.pitr',
title: 'Point in time recovery',
- tooltips: {
- main: 'PITR cannot be applied retroactively, projects can only be rolled back to the point from which PITR has been applied.',
- },
plans: {
free: false,
pro: '$100 per month per 7 days retention',
@@ -110,10 +160,8 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'database.pausing',
title: 'Pausing',
- tooltips: {
- main: 'Projects that have no activity or API requests will be paused. They can be reactivated via the dashboard.',
- },
plans: {
free: 'After 1 week of inactivity',
pro: 'Never',
@@ -123,6 +171,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'database.branching',
title: 'Branching',
plans: {
free: false,
@@ -133,10 +182,8 @@ export const pricing: Pricing = {
usage_based: true,
},
{
+ key: 'database.bandwidth',
title: 'Bandwidth',
- tooltips: {
- main: 'Billing is based on the total sum of all outgoing traffic (includes Database, Storage, Realtime, Auth, API, Edge Functions, Supavisor, Log Drains) in GB throughout your billing period.',
- },
plans: {
free: '5 GB included',
pro: ['250 GB included', 'then $0.09 per GB'],
@@ -152,8 +199,8 @@ export const pricing: Pricing = {
icon: 'M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4',
features: [
{
+ key: 'auth.totalUsers',
title: 'Total Users',
- tooltips: { main: 'The maximum number of users your project can have' },
plans: {
free: 'Unlimited',
pro: 'Unlimited',
@@ -163,10 +210,8 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'auth.maus',
title: 'MAUs',
- tooltips: {
- main: 'Users who log in or refresh their token count towards MAU.\nBilling is based on the sum of distinct users requesting your API throughout the billing period. Resets every billing cycle.',
- },
plans: {
free: '50,000 included',
pro: ['100,000 included', 'then $0.00325 per MAU'],
@@ -176,10 +221,8 @@ export const pricing: Pricing = {
usage_based: true,
},
{
+ key: 'auth.userDataOwnership',
title: 'User data ownership',
- tooltips: {
- main: 'Full ownership and access to the underlying user data including encrypted passwords.',
- },
plans: {
free: true,
pro: true,
@@ -189,10 +232,8 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'auth.anonSignIns',
title: 'Anonymous Sign-ins',
- tooltips: {
- main: 'Anonymous user requests count towards MAU, just like a permanent user.',
- },
plans: {
free: true,
pro: true,
@@ -203,6 +244,7 @@ export const pricing: Pricing = {
},
{
+ key: 'auth.socialOAuthProviders',
title: 'Social OAuth providers',
plans: {
free: true,
@@ -213,6 +255,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'auth.customSMTPServer',
title: 'Custom SMTP server',
plans: {
free: true,
@@ -223,6 +266,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'auth.removeSupabaseBranding',
title: 'Remove Supabase branding from emails',
plans: {
free: false,
@@ -233,6 +277,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'auth.auditTrails',
title: 'Audit trails',
plans: {
free: '1 hour',
@@ -243,6 +288,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'auth.basicMFA',
title: 'Basic Multi-Factor Auth',
plans: {
free: true,
@@ -250,12 +296,10 @@ export const pricing: Pricing = {
team: true,
enterprise: true,
},
- tooltips: {
- main: 'Multi-factor authentication (MFA), sometimes called two-factor authentication (2FA), using Time-based One Time Passwords (TOTP) via an Authenticator App.',
- },
usage_based: false,
},
{
+ key: 'auth.advancedMFAPhone',
title: 'Advanced Multi-Factor Auth - Phone',
plans: {
free: false,
@@ -263,12 +307,10 @@ export const pricing: Pricing = {
team: ['$75 per month for first project', 'then $10 per month per additional projects'],
enterprise: 'Custom',
},
- tooltips: {
- main: 'Multi-factor authentication (MFA), sometimes called two-factor authentication (2FA), using SMS or WhatsApp messages.\nAdditional fees apply based on your provider.',
- },
usage_based: false,
},
{
+ key: 'auth.thirdPartyMAUs',
title: 'Third-Party MAUs',
plans: {
free: '50 included',
@@ -276,12 +318,10 @@ export const pricing: Pricing = {
team: ['50 included', 'then $0.00325 per MAU'],
enterprise: 'Custom',
},
- tooltips: {
- main: 'Users who use the Supabase platform through a third-party authentication provider (Firebase Auth, Auth0 or Cognito).\nBilling is based on the sum of distinct third-party users requesting your API through the billing period. Resets every billing cycle.',
- },
usage_based: true,
},
{
+ key: 'auth.saml',
title: 'Single Sign-On (SAML 2.0)',
plans: {
free: false,
@@ -293,6 +333,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'auth.leakedPasswordProtection',
title: 'Leaked password protection',
plans: {
free: false,
@@ -303,6 +344,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'auth.singleSessionPerUser',
title: 'Single session per user',
plans: {
free: false,
@@ -313,6 +355,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'auth.sessionTimeouts',
title: 'Session timeouts',
plans: {
free: false,
@@ -323,6 +366,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'auth.authHooks',
title: 'Auth Hooks',
plans: {
free: 'Custom Access Token (JWT), Send custom email/SMS',
@@ -333,6 +377,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'auth.advancedSecurityFeatures',
title: 'Advanced security features',
plans: {
free: false,
@@ -350,10 +395,8 @@ export const pricing: Pricing = {
features: [
{
+ key: 'storage.size',
title: 'Storage',
- tooltips: {
- main: "The sum of all objects' size in your storage buckets.\nBilling is prorated down to the hour and will be displayed as GB-Hrs on your invoice.",
- },
plans: {
free: '1 GB included',
pro: ['100 GB included', 'then $0.021 per GB'],
@@ -363,6 +406,7 @@ export const pricing: Pricing = {
usage_based: true,
},
{
+ key: 'storage.customAccessControls',
title: 'Custom access controls',
plans: {
free: true,
@@ -373,8 +417,8 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'storage.maxFileSize',
title: 'Max file upload size',
- tooltips: { main: 'You can change the upload size in the dashboard' },
plans: {
free: '50 MB',
pro: '50 GB',
@@ -384,10 +428,8 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'storage.cdn',
title: 'Content Delivery Network',
- tooltips: {
- main: 'Assets in Storage are automatically cached on a CDN. With Smart CDN caching enabled, the CDN cache is automatically re-validated when the underlying asset changes. CDN caching is enabled across all plans and assets in the paid plans are cached via the Smart CDN.',
- },
plans: {
free: 'Basic CDN',
pro: 'Smart CDN',
@@ -397,10 +439,8 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'storage.transformations',
title: 'Image Transformations',
- tooltips: {
- main: 'We count all images that were transformed in the billing period, ignoring any transformations.\nUsage example: You transform one image with four different size transformations and another image with just a single transformation. It counts as two, as only two images were transformed.\nBilling is based on the count of (origin) images that used transformations throughout the billing period. Resets every billing cycle.',
- },
plans: {
free: false,
pro: ['100 origin images included', 'then $5 per 1000 origin images'],
@@ -410,6 +450,7 @@ export const pricing: Pricing = {
usage_based: true,
},
{
+ key: 'storage.byoc',
title: 'Bring your own storage provider',
plans: {
free: false,
@@ -426,10 +467,8 @@ export const pricing: Pricing = {
icon: 'M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4',
features: [
{
+ key: 'functions.invocations',
title: 'Invocations',
- tooltips: {
- main: 'Billing is based on the sum of all invocations, independent of response status, throughout your billing period.',
- },
plans: {
free: '500,000 included',
pro: ['2 Million included', 'then $2 per 1 Million'],
@@ -439,6 +478,7 @@ export const pricing: Pricing = {
usage_based: true,
},
{
+ key: 'functions.scriptSize',
title: 'Script size',
plans: {
free: '20 MB',
@@ -449,6 +489,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'functions.numberOfFunctions',
title: 'Number of functions',
plans: {
free: '25 included',
@@ -465,6 +506,7 @@ export const pricing: Pricing = {
icon: 'M15.042 21.672L13.684 16.6m0 0l-2.51 2.225.569-9.47 5.227 7.917-3.286-.672zM12 2.25V4.5m5.834.166l-1.591 1.591M20.25 10.5H18M7.757 14.743l-1.59 1.59M6 10.5H3.75m4.007-4.243l-1.59-1.59',
features: [
{
+ key: 'realtime.postgresChanges',
title: 'Postgres Changes',
plans: {
free: true,
@@ -475,10 +517,8 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'realtime.concurrentConnections',
title: 'Concurrent Peak Connections',
- tooltips: {
- main: 'Total number of successful connections. Connections attempts are not counted towards usage.\nBilling is based on the maximum amount of concurrent peak connections throughout your billing period.',
- },
plans: {
free: '200 included',
pro: ['500 included', 'then $10 per 1000'],
@@ -488,10 +528,8 @@ export const pricing: Pricing = {
usage_based: true,
},
{
+ key: 'realtime.messagesPerMonth',
title: 'Messages Per Month',
- tooltips: {
- main: "Count of messages going through Realtime. Includes database changes, broadcast and presence. \nUsage example: If you do a database change and 5 clients listen to that change via Realtime, that's 5 messages. If you broadcast a message and 4 clients listen to that, that's 5 messages (1 message sent, 4 received).\nBilling is based on the total amount of messages throughout your billing period.",
- },
plans: {
free: '2 Million included',
pro: ['5 Million included', 'then $2.50 per Million'],
@@ -501,6 +539,7 @@ export const pricing: Pricing = {
usage_based: true,
},
{
+ key: 'realtime.maxMessageSize',
title: 'Max Message Size',
plans: {
free: '250 KB',
@@ -517,6 +556,7 @@ export const pricing: Pricing = {
icon: 'M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4',
features: [
{
+ key: 'dashboard.teamMembers',
title: 'Team members',
plans: {
free: 'Unlimited',
@@ -527,16 +567,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
- title: 'Access controls',
- plans: {
- free: 'Coming soon',
- pro: 'Coming soon',
- team: true,
- enterprise: true,
- },
- usage_based: false,
- },
- {
+ key: 'dashboard.auditTrails',
title: 'Audit trails',
plans: {
free: false,
@@ -553,6 +584,7 @@ export const pricing: Pricing = {
icon: 'M9 12.75L11.25 15 15 9.75m-3-7.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285z',
features: [
{
+ key: 'security.byoc',
title: 'On Premises / BYO cloud',
plans: {
free: false,
@@ -563,6 +595,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'security.logRetention',
title: 'Log retention (API & Database)',
plans: {
free: '1 day',
@@ -573,10 +606,8 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'security.logDrain',
title: 'Log Drain',
- tooltips: {
- main: 'Only events processed and sent to destinations are counted. Bandwidth required to export logs count towards usage.\nEgress through Log Drains is rolled up into the unified egress and benefits from the unified egress quota.',
- },
plans: {
free: false,
pro: false,
@@ -590,6 +621,7 @@ export const pricing: Pricing = {
usage_based: true,
},
{
+ key: 'security.metricsEndpoint',
title: 'Metrics endpoint',
plans: {
free: false,
@@ -600,6 +632,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'security.soc2',
title: 'SOC2',
plans: {
free: false,
@@ -610,6 +643,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'security.hipaa',
title: 'HIPAA',
plans: {
free: false,
@@ -617,12 +651,10 @@ export const pricing: Pricing = {
team: 'Available as paid add-on',
enterprise: 'Available as paid add-on',
},
- tooltips: {
- main: 'Available as a paid add-on on Team Plan and above.',
- },
usage_based: false,
},
{
+ key: 'security.sso',
title: 'SSO',
plans: {
free: false,
@@ -633,6 +665,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'security.uptimeSla',
title: 'Uptime SLAs',
plans: {
free: false,
@@ -643,16 +676,18 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'security.accessRoles',
title: 'Access Roles',
plans: {
- free: 'Owner, Developer',
- pro: 'Owner, Developer',
- team: 'Additional owner(s), admin, read-only, billing admin, custom',
- enterprise: 'Additional owner(s), admin, read-only, billing admin, custom',
+ free: 'Owner, Admin, Developer',
+ pro: 'Owner, Admin, Developer',
+ team: 'Owner, Admin, Developer, Read-only',
+ enterprise: 'Custom project scoped roles',
},
usage_based: false,
},
{
+ key: 'security.vanityUrls',
title: 'Vanity URLs',
plans: {
free: false,
@@ -663,10 +698,8 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'security.customDomains',
title: 'Custom Domains',
- tooltips: {
- enterprise: 'Volume discounts available.',
- },
plans: {
free: false,
pro: '$10 per domain per month per project add on',
@@ -682,6 +715,7 @@ export const pricing: Pricing = {
icon: 'M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192l-3.536 3.536M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-5 0a4 4 0 11-8 0 4 4 0 018 0z',
features: [
{
+ key: 'support.communitySupport',
title: 'Community Support',
plans: {
free: true,
@@ -692,6 +726,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'support.emailSupport',
title: 'Email Support',
plans: {
free: false,
@@ -702,6 +737,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'support.emailSupportSla',
title: 'Email Support SLA',
plans: {
free: false,
@@ -712,6 +748,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'support.designatedSupport',
title: 'Designated support',
plans: {
free: false,
@@ -722,6 +759,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'support.onBoardingSupport',
title: 'On Boarding Support',
plans: {
free: false,
@@ -732,6 +770,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'support.designatedCustomerSuccessTeam',
title: 'Designated Customer Success Team',
plans: {
free: false,
@@ -742,6 +781,7 @@ export const pricing: Pricing = {
usage_based: false,
},
{
+ key: 'support.securityQuestionnaireHelp',
title: 'Security Questionnaire Help',
plans: {
free: false,
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f35f178ef2b..c6c1f391b93 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1124,9 +1124,6 @@ importers:
react-syntax-highlighter:
specifier: ^15.5.0
version: 15.5.0([email protected])
- react-tooltip:
- specifier: ^4.2.17
react-transition-group:
specifier: ^4.4.1