设计资源DESIGN· UI-KIT
microsoft/vscode-webview-ui-toolkit
一套让VS Code扩展的webview界面自动匹配编辑器主题的组件库。A component library that helps VS Code extension authors build webview UIs that look and feel native to the editor.
根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.
能力CAPABILITIES
让VS Code插件界面和编辑器风格统一
自动适配VS Code的深色/浅色主题
用React、Vue等框架也能用这套组件
插件里的按钮、列表等自带键盘操作和屏幕朗读
Match VS Code's design language without writing custom CSS
Automatically respect the user's current color theme
Use the same components in React, Vue, Svelte, or plain HTML
Ship accessible UIs with built-in ARIA labels and keyboard navigation
上手GET STARTED
文档里没有找到可识别的安装命令。这类项目按发布规则不会进入榜单,只能在这里查看。No recognisable install command was found in the docs. Projects like this never enter the ranked list under our publishing rules — they are viewable here only.
npm install --save @vscode/webview-ui-toolkitInstall the package from npm with `npm install --save @vscode/webview-ui-toolkit`.
使用限制LIMITATIONS
以下要求与风险来自文档静态检查,未执行项目代码;扫描没有命中,不代表使用安全。Risk here is evidence, not an alarm. These findings come from static scanning of the docs; we never execute a project’s code.
限制LIMITS
未知Unknown
静态扫描STATIC SCAN
在 README、SKILL.md 和依赖清单中没有匹配到已知风险模式。No known risk patterns matched in the README, SKILL.md or dependency list.
静态扫描未发现明显风险,但不代表安全。The static scan found no obvious risks, but that doesn't mean the code is completely safe. Always review dependencies and follow security best practices.
项目动态PROJECT ACTIVITY
首次发现FIRST SEEN
03 OCT 202603 OCT 2026
增长GROWTH
-0.2%-0.2%
2.1k → 2.1k stars · 50 个快照2.1k → 2.1k stars · 50 snapshots
讨论DISCUSSION
1 SOURCES1 SOURCES
1 条外部提及1 external mentions
状态STATUS
已归档Archived
这套组件能让你的 VS Code 插件里的网页界面自动匹配编辑器的主题和配色,不用自己写样式。The toolkit will be deprecated on January 1, 2025 — now is the time to adopt it or plan a migration.
HN_STORY · 1 points · 0 comments
依赖:Dependencies:@microsoft/fast-element, @microsoft/fast-foundation, @microsoft/fast-react-wrapper, tslib, react
{
"agents": [
{
"agent": "vscode",
"evidence": "readme: …# Webview UI Toolkit for Visual Studio Code [![NPM Version](https://img.…"
}
],
"apiKey": null,
"docker": null,
"taxonomy": {
"scores": {
"design": 5,
"ai-tools": 0,
"dev-tools": 0,
"indie-web": 0,
"skill-agent": 0,
"productivity": 0
},
"primary": "design",
"secondary": "ui-kit"
},
"localRuntime": null,
"skillMdTotal": 0,
"skillMdErrors": [],
"treeTruncated": false,
"categoryScores": {
"data": 0,
"agent": 0,
"media": 0,
"design": 6,
"browser": 0,
"devtool": 0,
"security": 0,
"marketing": 0,
"productivity": 0
},
"classification": [],
"scannedSources": [
"readme"
],
"skillMdFetched": 0
}