npm · npm:shadcn
shadcn 活跃
Add components to your apps.
shadcn 的最新稳定版本是 4.23.0,发布于 2026-10-27。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 4.23.0 |
|---|---|
| 发布时间 | 2026-10-27 12:33:51 UTC |
| 安装 | npm install shadcn@latest |
| 运行要求(engines) | {"node":">=20.18.1"} |
| Peer 依赖 | — |
| Dist 标签 | rc: 0.0.0-rc-20261007105214 beta: 0.0.0-beta-20261018062605 canary: 4.2.0-canary.0 latest: 4.23.0 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 13:52:00 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-10-27 12:33:51 UTC · 16 天前 |
| 过去 12 个月的稳定版本数 | 65 |
| 已发布版本数 | 314 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
4.23.0 | 2026-10-27 12:33:51 UTC |
4.22.2 | 2026-10-27 09:44:11 UTC |
4.22.1 | 2026-10-18 18:12:18 UTC |
4.22.0 | 2026-10-16 13:26:29 UTC |
4.21.5 | 2026-10-14 13:07:50 UTC |
4.21.4 | 2026-10-07 11:12:43 UTC |
4.21.3 | 2026-10-06 06:19:49 UTC |
4.21.2 | 2026-10-05 14:40:56 UTC |
4.21.1 | 2026-10-01 10:32:55 UTC |
4.21.0 | 2026-09-04 05:34:07 UTC |
4.20.1 | 2026-09-02 16:36:54 UTC |
4.20.0 | 2026-09-02 12:04:10 UTC |
4.19.1 | 2026-08-31 09:58:51 UTC |
4.19.0 | 2026-08-21 17:33:28 UTC |
4.18.0 | 2026-08-13 18:49:36 UTC |
4.17.0 | 2026-08-11 20:42:16 UTC |
4.16.2 | 2026-08-06 11:39:11 UTC |
4.16.1 | 2026-07-31 13:59:46 UTC |
4.16.0 | 2026-07-27 18:32:08 UTC |
4.15.0 | 2026-07-25 18:05:56 UTC |
显示 110 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 4.11.0 |
node 18 | 4.11.0 |
node 20 | 4.23.0 |
node 22 | 4.23.0 |
node 24 | 4.23.0 |
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
shadcn 的最新版本是什么?
shadcn 的最新稳定版本是 4.23.0,发布于 2026-10-27。Vigia 于 2026-11-12 核实。
如何安装 shadcn 的最新版本?
运行 npm install shadcn@latest。最新稳定版本是 4.23.0(2026-11-12 核实)。
shadcn 是否已弃用?
否。注册表中 shadcn 未被标记为已弃用。
shadcn 需要哪个版本的 Node.js?
shadcn 4.23.0 声明的要求为:{"node":">=20.18.1"}。
shadcn 4.23.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 shadcn 4.23.0。
shadcn 是否仍在维护?
shadcn 在过去 12 个月内发布了 65 个稳定版本,最近一次在 16 天前。活跃度:活跃。
观察到的变更
- ue Oct 27 2026 13:44:15 GMT+0000 (Coordinated Universal Time) — released 4.22.2 → 4.23.0
- ue Oct 27 2026 11:44:13 GMT+0000 (Coordinated Universal Time) — released 4.22.1 → 4.22.2
- Sun Oct 18 2026 19:02:05 GM +0000 (Coordinated Universal Time) — released 4.22.0 → 4.22.1
- Fri Oct 16 2026 16:42:35 GM +0000 (Coordinated Universal Time) — released 4.22.0 → 4.22.0
- Fri Oct 16 2026 14:42:33 GM +0000 (Coordinated Universal Time) — released 4.21.5 → 4.22.0
- Wed Oct 14 2026 14:40:32 GM +0000 (Coordinated Universal Time) — released 4.21.4 → 4.21.5
- Wed Oct 07 2026 11:43:00 GM +0000 (Coordinated Universal Time) — released 4.21.3 → 4.21.4
- ue Oct 06 2026 07:40:51 GMT+0000 (Coordinated Universal Time) — released 4.21.2 → 4.21.3
- Mon Oct 05 2026 15:39:59 GM +0000 (Coordinated Universal Time) — released 4.21.1 → 4.21.2
- hu Oct 01 2026 11:41:52 GMT+0000 (Coordinated Universal Time) — released 4.21.0 → 4.21.1
相关软件包
- babel-code-frame
- react-use-measure
- telejson
- stripe
- detect-port-alt
- oidc-token-hash
- babylon
- @firebase/component
- react-native-svg
- cli-table
- ordered-binary
- toad-cache
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/shadcn) [](https://vigia.coredls.cloud/npm/shadcn) [](https://vigia.coredls.cloud/npm/shadcn)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/shadcn
GET https://vigia.coredls.cloud/v1/packages/npm/shadcn/versions/{version}