@equinor/opt-ui-core

中文文档
6.28.0发布于 2026/10/30MITTypeScriptESM + CJS近 30 天下载 4289

OPT-UI React components UI library

原始使用文档

@equinor/opt-ui-core

License Downloads Types

Release Vulnerabilities

OPT-UI, React components UI library.

You can find the documentation on our Storybook.

Read the changelog for details on specific releases.

Installation

Install the package in your project directory with:

// with npm
npm install @equinor/opt-ui-core

// with yarn
yarn add @equinor/opt-ui-core

版本与发布记录

@equinor/opt-ui-core 共发布 156 个版本,首次发布于 2021/01/28;过去 12 个月发布了 2 个版本。

版本发布日期距今
6.28.0latest2026/10/3014 天前
6.27.12026/10/2321 天前
6.27.02025/07/311.3 年前
6.26.02025/07/181.3 年前
6.25.22025/07/151.3 年前
6.25.12025/07/111.3 年前

关于 @equinor/opt-ui-core 的常见问题

@equinor/opt-ui-core 是什么?

OPT-UI React components UI library

如何安装 @equinor/opt-ui-core?

在项目目录运行 npm install @equinor/opt-ui-core,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(>=16.8.0)、react-dom(>=16.8.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@equinor/opt-ui-core 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@equinor/opt-ui-core 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@equinor/opt-ui-core 可以商用吗?

@equinor/opt-ui-core 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@equinor/opt-ui-core 的下载量有多少?

根据 npm 官方下载统计,@equinor/opt-ui-core 在 2026/10/14 – 2026/11/12 这 30 天内被下载 4,289 次,日均约 143 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@equinor/opt-ui-core 还在维护吗?

最新版本 6.28.0 发布于 2026/10/30(14 天前);至今共发布 156 个版本,其中过去 12 个月发布了 2 个;首次发布于 2021/01/28。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。