Explore Examples
Try out the key features of StateSurface hands-on.
Streaming Demo
Full/partial frames, removed keys, and error frames in real time.
→Actions Playground
Button actions, form submissions, scoped pending, and multiple action patterns.
→View Transition
Smooth morphing between card and detail views via the View Transition API.
→Search
Search functionality using form data-action and pending states.
→Chat
Chatbot showcasing abort previous, progressive streaming, and accumulate frames.
→UI Patch
Change h-state appearance with classAdd, classRemove, and cssVars without re-rendering.
→