import { Button, Modal, Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from 'ui' import { DocsButton } from '@/components/ui/DocsButton' import { DOCS_URL } from '@/lib/constants' interface SpendCapModalProps { visible: boolean onHide: () => void } const SpendCapModal = ({ visible, onHide }: SpendCapModalProps) => { return ( Spend Cap } showCloseButton={false} onCancel={() => onHide()} >

Enabling the Spend Cap limits your usage to your plan's quota, which controls costs but can restrict your service. Disabling the spend cap removes these limits, but any extra usage beyond the plan's limit will be charged per usage.

Launching additional projects or enabling project add-ons will incur additional monthly fees independent of your Spend Cap.

{/* Maybe instead of a table, show something more interactive like a spend cap playground */} {/* Maybe ideate this in Figma first but this is good enough for now */} Item Limit Rate Disk Size 8 GB per project $0.125 per GB Egress 250 GB $0.09 per GB Auth MAUs 100,000 $0.00325 per user Auth Third-Party MAUs 100,000 $0.00325 per user Auth Single Sign-On MAUs 50 $0.015 per user Storage Size 100 GB $0.021 per GB Storage Image Transformations 100 origin images $5 per 1000 images Realtime Concurrent Peak Connections 500 $10 per 1000 Realtime Messages 5 Million $2.50 per Million Function Invocations 2 Million $2 per Million
) } export default SpendCapModal