// Demo frame: proves the resize gesture (real breakpoint at 768px) and interact mode (native ). import { useRef, useState } from 'react' import { fx } from './_fixtures.ts' export const meta = { title: 'Demo - form', viewport: 'laptop' } export default function Form() { const dlg = useRef(null) const [email, setEmail] = useState(fx.user.email) return (
{fx.items.map((it) => (
{it.name}
{it.price}
))}

Drag this frame's edge across 768px - the nav collapses to a burger and the grid drops to one column. Real CSS, real viewport.

It is a real dialog

Typing, focus, and click all work in interact mode. Press Escape to close it, Escape again to leave interact mode.

) }