Assistant thread

Assistant thread is a AI Chat block from Orvain UI, built for React and Vue with a matching Figma frame.

Best for

An assistant panel that answers from your own content and shows its research

Anatomy

A white thread in a grey shell · header with a count of questions asked · research you can watch: the step it is on, a four-part progress bar and a count, folding into “Read 4 sources” · an answer that streams word by word with ink citations that preview their source · source cards · copy, regenerate and rating · a composer with a context strip, Ask / Audit / Code, a Docs toggle and a depth menu · send that becomes “Stop esc”

MCPConnect the MCP server
Orvain assistant1
Docs · 14 blocks

Which button should I use for a destructive action in a modal?

Use the Error intent of the Skeuomorphic button for the confirming action, and keep Cancel as the neutral secondary beside it . Put the destructive button on the right, where the primary sits in every other modal, so the order never changes with the risk .

Answering from docs and 14 blocks

In the Orvain Library

Get Assistant thread for your product

The block’s code in React and Vue, its frame in the Figma file, and the Orvain MCP so your AI tools build with it. Part of every Library plan, alongside every other block.

  • React
  • Vue
  • Figma frame
  • Orvain MCP

About this block

Part of AI Chat

What’s inside

08parts

The pieces it is built from. Keep them all, or drop the ones your product doesn’t need.

  1. A white threadin a grey shell
  2. Header with a count of questions asked
  3. Research you can watchthe step it is on, a four-part progress bar and a count, folding into “Read 4 sources”
  4. An answerthat streams word by word with ink citations that preview their source
  5. Source cards
  6. Copy, regenerate and rating
  7. A composerwith a context strip, Ask / Audit / Code, a Docs toggle and a depth menu
  8. Send that becomes “Stop esc”

Responsive behaviour

780 px

Drawn at this width and never stretched past it. Below it, controls, text and spacing step down from the box the block sits in, not the window.

1440pxDesktop · 12 columns

When to use it

Where AI Chat earns its place

Reach for AI Chat

  • An assistant that answers from your own content, where showing the sources is what makes an answer usable.
  • A team that reuses the same handful of prompts and should not have to retype them.
  • Writing help on text someone has already written, where they want to see the change before accepting it.

Reach for something else

  • A fixed set of questions with fixed answers. An FAQ in the Accordion family is faster to read and cannot be wrong.
  • Search over records. A command menu or a filtered list returns the records themselves rather than a paragraph about them.
  • One-shot generation with no follow-up, such as a summary on a page. Show the result in a card with a regenerate action rather than opening a thread.

Accessibility

06to keep

What the block ships with. Hold on to these as you make it yours.

  • Named controlsEvery icon-only button keeps a text label, so a screen reader can say what it does.
  • Keyboard firstEvery control is reachable with Tab, and its focus ring stays visible.
  • More than colourA state never rides on colour alone; a mark or a word goes with it.
  • Contrast holdsRetheme freely, but keep text at or above the contrast it ships with.
  • Calm motionFor visitors who ask for reduced motion, things simply appear.
  • Room to hitTargets stay at least 24px, with space between neighbours.

Notes for AI

1 line

Is all your assistant needs. With the Orvain MCP connected, it builds the block from your own tokens and components.

Add the Orvain “Assistant thread” block to this page: a white thread in a grey shell, header with a count of questions asked, research you can watch: the step it is on, a four-part progress bar and a count, folding into “Read 4 sources”, an answer that streams word by word with ink citations that preview their source, source cards, copy, regenerate and rating, a composer with a context strip, Ask / Audit / Code, a Docs toggle and a depth menu, send that becomes “Stop esc”.

Works in
Connect the MCP

Questions about Assistant thread.

What is the Assistant thread block?

Assistant thread is a AI Chat block from Orvain UI, built for React and Vue with a matching Figma frame. Best for an assistant panel that answers from your own content and shows its research.

What is the Assistant thread block made of?

Is the Assistant thread block responsive?

Is the Assistant thread block accessible?

How do I add the Assistant thread block to my project?

When should I not use a AI Chat block?

More AI Chat blocks

All AI Chat

Assistant with voice

An assistant people can talk to as well as type to

Assistant home

The first screen of an assistant, before anything is asked

Prompt library

Saved prompts a team reuses, one click from the composer

Rewrite selection

Writing help on text someone has already written

Rewrite toolbar

AI rewriting on light pages, next to a formatting bar

Inline rewrite

Rewriting in place, without a result card

The Orvain Dispatch

Premium components, free in your inbox.

Join the Orvain Dispatch and get production-ready components, free to keep: React and Vue code plus the Figma frame, yours to ship.

Just components, never spam. You can unsubscribe anytime.