Skip to main content

vscode-webview-ui

Stars1
Forks1
UpdatedDecember 27, 2025 at 19:30

Patterns for building React-based VS Code webview panels and sidebars. Covers the postMessage bridge, state persistence, VS Code Webview UI Toolkit components, dark/light theme tokens, and the Vite build setup for webviews. Use when building or modifying the webview (React) side of a VS Code extension, styling components to match VS Code theme, wiring up message handlers, or configuring Vite for the webview bundle. Triggers on mentions of WebviewView, acquireVsCodeApi, postMessage, vscode CSS variables, or webview React.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly