:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import { useActions } from 'kea'
import * as construction2Png from '@posthog/brand/hoggies/png/construction-2'
import { Link } from '@posthog/lemon-ui'
import { pngHoggie } from 'lib/brand/hoggies'
import { supportLogic } from 'lib/components/Support/supportLogic'
import { LemonBanner } from 'lib/lemon-ui/LemonBanner'
import { LemonTag } from 'lib/lemon-ui/LemonTag/LemonTag'
const HedgehogConstruction2 = pngHoggie(construction2Png)
export function BillingEarlyAccessBanner(): JSX.Element {
const { openSupportForm } = useActions(supportLogic)
return (
<LemonBanner type="info" hideIcon className="overflow-visible">
<div className="flex items-center gap-4">
<div className="relative flex-shrink-0 mr-2">
<LemonTag type="completion" className="absolute top-2.5 left-0 transform -rotate-12">
EARLY ACCESS
</LemonTag>
<HedgehogConstruction2 className="w-20 h-20 mt-6" />
</div>
<div className="text-primary">
<p>
We're still tinkering with these dashboards - got questions, ideas or bugs?{' '}
<Link
onClick={() =>
openSupportForm({
kind: 'support',
billing_issue: true,
isEmailFormOpen: true,
})
}
>
Send them our way
</Link>
!
</p>
<ul className="list-disc list-inside pl-2">
<li>Usage data updates daily (UTC) - so today's numbers show up tomorrow</li>
<li>Historical spend and billing periods are based on the current subscription plan</li>
<li>
To further breakdown product usage, check out this{' '}
<Link
to={`/dashboard?templateFilter=${encodeURIComponent('billable usage')}#newDashboard=modal`}
>
dashboard template
</Link>
</li>
</ul>
</div>
</div>
</LemonBanner>
)
}