: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 { BrandMark } from '../components/BrandMark'
import { CustomHarnessIcon } from '../components/CustomHarnessIcon'
import { harnessMark } from './harnessRegistry'
export function HarnessLogo({
category,
label,
className = 'h-4 w-4',
}: {
category: string
label?: string
className?: string
}): JSX.Element {
const mark = harnessMark(category)
return mark === 'Other harnesses' ? (
<CustomHarnessIcon harness={category} label={label} className={className} />
) : (
<BrandMark name={mark} label={label} className={className} />
)
}
export function HarnessPill({ category, title }: { category: string; title?: string }): JSX.Element {
return (
<span
className="inline-flex max-w-full items-center gap-1.5 rounded-full border border-primary bg-surface-primary px-2 py-0.5 text-xs"
title={title}
>
<HarnessLogo category={category} className="h-3.5 w-3.5" />
<span className="truncate">{category}</span>
</span>
)
}