Examples
Live, interactive examples you can preview and copy. Each renders the real component — toggle between Preview and Code on any example.
Triggers@mentions, /commands, #tags, callbacks, and async search.FormattingInline markdown, a markdown / plain-text toggle, and rotating placeholders.AttachmentsImage and file attachments, plus copy & paste with chips.DX HelpersusePromptAreaState, trigger presets, and segment helpers.Vercel AI SDKStream chat with useChat — onSubmit to sendMessage, status-aware send/stop.CollaborativeMultiplayer composer over Vercel WebSockets — live presence, typing, shared doc.Agent StylesClaude Code– and Codex-style composers on the dedicated Styles page.