Building Product Empty States

Guide for adding a product setup empty state — the skippable first-run screen a product scene shows until real data arrives, built on the shared ProductEmptyState component. Use when adding an empty state or first-run/setup screen to a product scene, declaring `emptyState` on a `SceneExport`, writing a product setup-status detection logic, building an animated example-data preview widget, or deciding between the scene-level `ProductEmptyState` gate and an inline `ProductIntroduction` panel. Covers the `productSetupStatusLogic` single-layer contract, real-data detection rules, local-only skip semantics, wizard commands, and design tokens.

posthog 3f92398 17.3 KB Updated

File contents

posthog/posthog/tree/main/.agents/skills/building-product-empty-states commit 3f9239867f

Frequently asked questions

npx skillmds add posthog-posthog/building-product-empty-states