Skip to content

OutlineEditor

Stable

The plan of a deck before any slide is built: the AI drafts it, the person edits, reorders and approves it.

Also known as outline, deck outline

Install with npm install @tattva/ui (setup), or copy the code from the kit in Downloads.

Draft, edit and build

Outline

2 slidesAI is drafting

Slides appear as they are written. You can edit each one once it is complete.

Overview, drafted by AI

A six-slide quarterly review of Larkspur Outdoor for the board, from your sales sheet, supplier notes and survey summary.

    • Q3 sales.xlsx
    Drafted by AI
  1. Sales by region

    The north grew fastest; the coast was flat.

    • Q3 sales.xlsx, sheet 2
    Still writing this slide
AI is drafting the outline

Slides stream in title first, and only the one being written is read-only. Edit any title and the badge changes to Edited by you, with Update outline beside Build slides. Lock a slide to keep it when updating. Build moves to Approved, then Building.

When to use it

Lets a person co-write the plan of a deck with the AI, and decide when it is good enough to build.

Made of: Heading and slide count · State badge · State note or error · AI overview · Slide rows: number, title, description, sources, who wrote it, Move up, Move down, Add after, Lock, Remove · Undo remove bar · Add slide · Build slides, Update outline and the estimate

Use it for

  • The step between a brief and a built deck, where the person checks the slide list.
  • Any generated document with sections the person may want to reorder, add or remove before the full text is written.
  • Redrafting a plan around the person's edits while keeping the slides they locked.

Not for

  • A fixed plan of agent steps to approve or send back: use PlanCard.
  • Progress while the slides are being built: use GenerationProgress.
  • Correcting one value the AI filled in: use InlineEdit.

Do and avoid

Q3 review

3 slidesReady to build
  1. Drafted by AI
  2. Drafted by AI
  3. Added by you
3 slides, about 15 credits

Do. The plan waits for a person to say it is ready to build.

Q3 review

3 slidesBuilding slides

Building slides from this outline. It can no longer be changed here.

  1. Q3 at a glance

    Sales up 9 percent, two new stores.

    Drafted by AI
  2. Sales by region

    The north grew fastest.

    Drafted by AI
  3. Plan for Q4

    Holiday stock and hiring.

    Added by you

Avoid. It starts building on its own, so nobody checked the plan.

Do

  • Offer Update outline and Build slides side by side once the person has edited, so they choose whether to redraft.
  • Show where each slide's content comes from, and which slides the AI wrote.
  • Keep the slides the person edited or locked when the outline is redrafted.
  • Show the estimate next to Build, from your own code.

Avoid

  • Don't build automatically when drafting finishes; the person approves first.
  • Don't colour the person's own slides, the Build button or the whole outline with the AI colour. Only the AI marks and the working edge use it.
  • Don't animate each word as it streams in. One calm working edge is enough.
  • Don't let an empty title through. Screen-reader users move through a deck by its titles.

On a phone

  • One column. The description folds under the title behind a Description button, and opens by itself when the row has an error.
  • Move up, Move down, Add after, Lock and Remove are 44px on touch screens. Reorder works with these buttons; there is no drag.
  • Build slides and Update outline sit in a bar that sticks to the bottom of the screen, above the safe area, and share the width.

Seen in products

  • Gemini in Google Slides shows a plan of slides with sources, and an Update plan action after edits.
  • Gamma lets people edit the outline freely before generating cards (third-party review).
  • Gemini's help does not list reordering the plan, so not every product offers it.

Build your next AI screen with Tattva.

Free and open, with the code. Start in one line.

Get started