View as Markdown

Salmon UI Chat documentation

Every page below embeds live demos; each demo also has a standalone route.

Components

  • Conversation

    A chat between people and bots - controlled or uncontrolled messages, users and avatars, a composer that sends on Enter, streamed bot replies from an adapter, typing indicators, timestamps, date separators, templates and an accessible APG Feed.

    2 demos

  • AI assistant

    Conversation with variant="assistant" - a provider-agnostic adapter that streams text, reasoning and tool parts, Stop, a pending skeleton, prompt suggestions, regenerate with response alternatives, feedback, prompt and response toolbars, dictation and an application Markdown renderer.

    2 demos

  • Conversation actions and attachments

    Message actions (copy, reply, pin, delete and custom items), replies with quoted previews, the pinned bar, forwarded labels, delivery status with retry, quick replies, @ mentions and attachments through an upload transport.

    1 demo

  • Conversation history and scrolling

    Virtualized long histories, older messages loaded on demand with a stable scroll position, auto-scroll modes, the jump-to-latest button with an unread count, and the ConversationApi for scrolling and focus.

    1 demo

  • InlineAssist

    An AI prompt anchored to an editor, a text selection or a point - streamed responses from a provider-agnostic adapter, Stop, slash commands, Accept / Discard / Retry, a toolbar slot, custom composer and content renderers, dictation and APG non-modal dialog accessibility.

    2 demos

  • TextArea suggestions

    useTextSuggest - inline completions for the Inputs TextArea from any source (a local phrase list, the browser, a server or a model) as ghost text or a popover, accepted with Tab, cancelled on every keystroke, and paid for only by the fields that use them.

    2 demos

  • Smart paste

    useSmartPaste fills a form from pasted text - an address, an email, a support ticket - through your own adapter, with any Button. It describes the fields, writes the answer into React-controlled inputs and reports what it filled.

    1 demo

Guides

  • Smart feature recipes

    How to build smart AI features with Salmon UI, a provider-agnostic Conversation adapter, your own server route and the public props of each host component.

    0 demos

Tooling

  • Agent Skills

    One generated Agent Skill per Salmon UI component family, installed with npx skills add, so coding agents use the current imports, mental model, API and common mistakes instead of memory.

    0 demos