: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
export function CollectionSectionHeading({
title,
description,
children,
}: {
title: string
description: string
children?: React.ReactNode
}): JSX.Element {
return (
<div className="flex items-center gap-3 px-3 py-1.5 border-b bg-surface-tertiary dark:bg-surface-secondary flex-wrap">
<span className="text-xs font-semibold uppercase tracking-wide text-secondary">{title}</span>
<span className="text-xs text-muted">{description}</span>
{children ? <div className="ml-auto flex items-center gap-2 flex-wrap">{children}</div> : null}
</div>
)
}