Getting Started

VS Code Extension

Browse, add, compare and update UI Thing components and blocks from a sidebar in VS Code, Cursor or Windsurf.

The UI Thing extension puts the CLI in your editor. It adds a sidebar where you can browse and add components and blocks, install items from registries such as Vue Bits and NXUI, and compare your copies with the latest version in the diff editor. It also gives Copilot the UI Thing MCP server.

The extension runs the ui-thing CLI for you, in a UI Thing terminal where you can watch it and answer any questions.

Install

The extension is installed from a .vsix file on GitHub.

  1. Download ui-thing-vscode-extension-<version>.vsix from the latest release.
  2. In VS Code, open the Extensions view, click the ··· menu at the top and choose Install from VSIX…, then pick the file.

Or install it from a terminal:

code --install-extension ui-thing-vscode-extension-0.1.0.vsix

Cursor and Windsurf work the same way. Use cursor --install-extension or windsurf --install-extension instead of code.

Updates
Extensions installed from a .vsix file do not update themselves. Check the releases page for new versions, and install a new one the same way. It replaces the old one.

Getting started

  1. Open a Nuxt project, or run UI Thing: Create Nuxt Project from the Command Palette.
  2. Click the UI Thing icon in the Activity Bar, then Initialize UI Thing.
  3. Add components from the Components view, and page sections from Blocks.

The sidebar

  • Installed: the components and registry items in your project. Hover an item to open its docs, compare it with the latest version, update it or remove it. Click it to open the file.
  • Components: the whole catalog, with installed components marked. Click one to read its source, or add it with the + button.
  • Blocks: ready-made page sections by category (heroes, pricing, dashboards, sign-in pages and more).

Select several items to add, update or remove them together.

Commands

Open the Command Palette and type UI Thing to see every command. Each one runs the matching CLI command.

CommandRuns
Initializeui-thing init
Project Infoui-thing info
Add Componentsui-thing add
Add Blocksui-thing block
Add from Registryui-thing add @namespace/name
Add Registry Namespaceui-thing registry add-namespace
Compare with Latest Versionopens VS Code's diff editor
Update Componentsui-thing update
Remove Componentsui-thing remove
Change Themeui-thing theme
Add Prettier Configui-thing prettier
Add Shortcuts Composableui-thing shortcuts
Connect MCP Server to Projectui-thing mcp init
Install Agent Skillnpx skills add …

Copilot and the MCP server

In VS Code, the extension registers the UI Thing MCP server for you. Switch Copilot Chat to agent mode and ask it to build a page with UI Thing. It can look up the exact source, docs and install plan for every component and block, with no mcp.json to write.

If you already set up the server in .vscode/mcp.json, turn this off with the uithing.mcp.enabled setting so it isn't listed twice.

Settings

SettingDefaultDescription
uithing.packageManagerautoauto, npm, pnpm, yarn, bun or deno. auto reads your lockfile.
uithing.cliChannellatestVersion of the CLI to run, for example 0.4.1.
uithing.catalog.cacheTTL86400Seconds to cache the components and blocks catalogs.
uithing.mcp.enabledtrueProvide the UI Thing MCP server to VS Code.
uithing.mcp.urlhttps://uithing.com/mcpMCP server URL.

Requirements

  • VS Code 1.104 or newer, or a Cursor or Windsurf release based on it. In Cursor and Windsurf, connect the MCP server with Connect MCP Server to Project instead.
  • Node.js 20 or newer.
  • An internet connection to load the components and blocks catalogs. A cached copy is used when you're offline.