AtroUIAtroUI
DocsComponentsBlogTheming
StarOwn the UI
  • Introduction
  • Installation
  • Host APIs
  • Registry
  • Theming
  • Brand kit
  • Identity kit
  • Launch workflow
  • Compare
  • Changelog
  • Blog
  • ButtonCLI
  • CardCLI
  • Form SelectCLI
  • TextareaCLI
  • BreadcrumbsCLI
  • ProseCLI
  • Founder AvatarCLI
  • Theme ToggleCLI
  • Theme ProviderCLI
  • LogoCLI
  • Mockup FrameCLI
  • TimelineCLI
  • Fade InCLI
  • StaggerCLI
  • Scroll ProgressCLI
  • Site HeaderCLI
  • Site FooterCLI
  • Bold FooterCLI
  • HeroCLI
  • PrincipleCLI
  • WorkCLI
  • CraftsCLI
  • LabCLI
  • WhoCLI
  • PricingCLI
  • Feature GridCLI
  • Logo CloudCLI
  • FAQCLI
  • Contextual CTACLI
  • Exit IntentCLI
  • Contact FormHost API
  • Calendly EmbedCLI
  • Waitlist FormHost API
  • Newsletter FormHost API
  • JournalCLI
  • Social ShareCLI
  • ResourcesCLI
  • Before / AfterCLI
  • Case StudyCLI
  • AR PortfolioCLI
  • Made With EmbedCLI
  • Count UpCLI
  • Deadline CountdownCLI
  • CurrentlyCLI
  • Project ListCLI
  • Log PreviewCLI
  • ChangelogCLI
  • Command MenuCLI
  • RevealCLI
  • Theme Toggle IconCLI
  • Site Header NarrowCLI
  • Site Footer NarrowCLI
  • Social FloatCLI
  • Reading ShelfCLI
  • Personal HeroCLI
  • ResumeCLI
  • Local ClockCLI
  • Weather ChipCLI
  • Stack ListCLI
  • OG ExamplesCLI
  • OG Live PreviewCLI
  • OG WorkspaceHost API
  • Thumbnail PreviewCLI
  • Thumbnail WorkspaceHost API
  • Project PlannerCLI
  • Scope ChatHost API
  • Live DashboardCLI
  • Analytics ProviderCLI
  • JSON-LDCLI
  • Testimonial SchemaCLI

Loading

Guide

From scope to social card

One intake conversation becomes a structured brief, which seeds your OG (and thumbnail) workspace — without AtroUI hosting the AI. Own the UI. Borrow the API. Bring your own keys.

The path

  1. Scope Chat (+ optional @atroui/api-scope) — describe the project; draft an OG card from the last message.
  2. Project Planner — confirm type, features, budget; Preview social card opens OG with the estimate prefilled.
  3. OG Workspace / Thumbnail — Quick mode accepts ?mode=quick&title=&subtitle=. Preview without keys; AI needs your Host API env.

Shared brief

Install the type + helpers into your repo:

bash
npx shadcn@latest add @atroui/project-brief
ts
import {
  type ProjectBrief,
  buildOgHref,
  briefFromScopeMessage,
} from "@/lib/project-brief"

const brief: ProjectBrief = {
  name: "LaunchKit",
  oneLiner: "Scope to social card in one loop",
  audience: "indie founders",
  pages: ["home", "pricing"],
  tone: "direct",
  constraints: ["7-day sprint"],
  ogTitle: "Ship the social card",
  ogSubtitle: "Scope → planner → OG",
}

// Prefill the OG workspace (docs host: /og)
window.location.href = buildOgHref(brief)

Package export: import { buildOgHref } from "atroui" when you already depend on the npm package for Host APIs.

Try it

Live brief

Edit fields, then open the OG workspace with Quick-mode prefills. No keys required for preview.

/og?mode=quick&title=Ship+the+social+card&subtitle=Scope+%E2%86%92+planner+%E2%86%92+OG#og-workspaceOpen OG workspace

Install checklist

bash
# Brief helpers (always)
npx shadcn@latest add @atroui/project-brief

# Scope (UI + optional Host API)
npx shadcn@latest add @atroui/scope-chat
npx shadcn@latest add @atroui/api-scope

# Planner
npx shadcn@latest add @atroui/project-planner

# Social cards (UI + Host APIs when you want AI)
npx shadcn@latest add @atroui/og-workspace
npx shadcn@latest add @atroui/api-generate
# optional:
npx shadcn@latest add @atroui/thumbnail-workspace
npx shadcn@latest add @atroui/api-thumbnail

Forms / AI Host APIs need npm i atroui + transpilePackages. See Host APIs.

Host APIsRegistryOpen /og