# Flows and the playground

> Linked screens as prototypes, missing screens, business states, the playground and modes.

## Flows

Give screens a `route` (for example `/pricing`) and links between them become a working prototype. The **Flow** view draws every screen and the links between them, picks a start screen (the one at `/`) and shows links that point at screens that don't exist yet — each with a ready prompt to ask your agent for the missing screen.

Agents can read the same map with `get_flow`.

## Presenting

**Present** opens a full-screen click-through with device sizes (desktop, tablet, mobile), back and restart. Share links use the same player for people without an account.

## Business states

Mark parts of a screen with `data-state="loading"`, `empty`, `error` or `success`, and switch between states in any preview. The analysis lists states a screen is missing and why they matter.

## Playground

The playground finds the interactive elements of a prototype — buttons, inputs, menus, tabs — and lets you force their states (hover, focus, pressed, disabled, open) to check every state at once. Changes there are temporary and never saved to the design.

## Modes

If your design system has modes (theme, density, brand), switch them in any preview to check a screen in dark mode or compact density without a separate design.
