Skip to content

: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.

483 B
Raw Blame
import { type ReactNode } from 'react'

export function AuthCardTitle({
    title,
    sub,
    className,
}: {
    title: ReactNode
    sub?: ReactNode
    className?: string
}): JSX.Element {
    return (
        <div className={className ?? 'mb-6'}>
            <h1 className="m-0 text-xl font-bold leading-tight text-center tracking-tight">{title}</h1>
            {sub && <p className="mt-2 mb-0 text-sm text-secondary text-center text-pretty">{sub}</p>}
        </div>
    )
}