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.

636 B
Raw Blame
import { Spinner } from 'lib/lemon-ui/Spinner/Spinner'

interface StreamlitAppLoadingProps {
    message?: string
}

export function StreamlitAppLoading({ message }: StreamlitAppLoadingProps = {}): JSX.Element {
    return (
        <div className="flex flex-col items-center justify-center py-20 text-center">
            <h2 className="text-lg font-semibold mb-2">{message ?? 'Waking up the hedgehogs...'}</h2>
            {!message && (
                <p className="text-muted mb-6">Your app is starting. This usually takes about 10-30 seconds.</p>
            )}
            <Spinner className="text-4xl" />
        </div>
    )
}