{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "kvnkld-aicss--add-thinking-state-to-vue-or-svelte",
 "repo": "kvnkld/aicss",
 "repo_url": "https://github.com/kvnkld/aicss",
 "repo_slug": "kvnkld-aicss",
 "title": "Add the thinking-state component to a Vue or Svelte app",
 "page_title": "How to add the thinking-state component to a Vue or Svelte app with Aicss",
 "summary": "Use the AICSS CLI with a framework flag to add the component to Vue or Svelte files.",
 "who": "A Vue or Svelte developer building an agent chat interface who needs the same thinking indicator as their React teammates.",
 "problem": "The npm package is listed for React, so a non-React team needs another way to get the component into their codebase.",
 "outcome": "The thinking-state component is added to the project in the chosen framework format through the AICSS CLI.",
 "steps": [
  "Open a terminal in the root of the Vue or Svelte project.",
  "Run `npx @aicss/cli add thinking-state --framework vue` for a Vue project.",
  "Run `npx @aicss/cli add thinking-state` and choose the framework the CLI supports for Svelte, if the CLI prompts for it.",
  "Open the added files and import the component into the agent chat view."
 ],
 "agent_prompt": "In the repo kvnkld/aicss, use the @aicss/cli add command to add the thinking-state component to the project at <project-path> for the framework <vue-or-svelte>. Report the files created and confirm the component is imported in <chat-component-path>.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The README shows the --framework vue flag explicitly, but does not show a Svelte flag, so confirm the Svelte option with the CLI help output before relying on it.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "An existing React, Vue, or Svelte project",
  "npm and npx available in a terminal",
  "For Pro components only: an AICSS account and an AICSS_TOKEN from https://www.aicss.dev/account"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/kvnkld-aicss/add-thinking-state-to-vue-or-svelte/",
 "md": "https://dedupedai.com/use-cases/kvnkld-aicss/add-thinking-state-to-vue-or-svelte/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/kvnkld-aicss--add-thinking-state-to-vue-or-svelte.json",
 "api_version": "v1"
}
