@awsui/components-react

中文文档
3.0.1693发布于 2025/11/25Apache-2.0TypeScriptCommonJS近 30 天下载 2.5万

On July 19th, 2022, we launched Cloudscape Design System. Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

此软件包已被标记为弃用

This package is no longer maintained. Use the respective @cloudscape-design package.

原始使用文档

AWS-UI becomes Cloudscape Design System

On July 19th, 2022, we launched Cloudscape Design System. Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, engaging, and inclusive user experiences at scale. As part of the release, we have begun to publish npm packages to the new @cloudscape-design namespace.

We recommend migrating your existing AWS-UI applications to Cloudscape.

For more information, see our GitHub repository.

@awsui/components-react

AWS UI is a collection of React components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the Apache 2.0 open source license.

This package provides AWS UI React components and can be used in conjunction with @awsui/collection-hooks, @awsui/design-tokens, @awsui/global-styles, and @awsui/test-utils-core.

This release allows Amazon teams to release open source products that have a dependency on the AWS UI components. It is just the first step in a larger process of creating a new open source design system. You can find more information on GitHub.

版本与发布记录

@awsui/components-react 共发布 1,694 个版本,首次发布于 2020/12/21;过去 12 个月发布了 15 个版本。

版本发布日期距今
3.0.1693latest2025/11/2511 个月前
3.0.16922025/11/2111 个月前
3.0.16912025/11/2111 个月前
3.0.16902025/11/2011 个月前
3.0.16892025/11/2011 个月前
3.0.16882025/11/2011 个月前

关于 @awsui/components-react 的常见问题

@awsui/components-react 是什么?

On July 19th, 2022, we launched Cloudscape Design System. Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en注意:该包已被作者标记为弃用——This package is no longer maintained. Use the respective @cloudscape-design package.

如何安装 @awsui/components-react?

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

@awsui/components-react 支持 TypeScript 吗?

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

@awsui/components-react 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@awsui/components-react 可以商用吗?

@awsui/components-react 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@awsui/components-react 的下载量有多少?

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

@awsui/components-react 还在维护吗?

最新版本 3.0.1693 发布于 2025/11/25(11 个月前);至今共发布 1694 个版本,其中过去 12 个月发布了 15 个;首次发布于 2020/12/21。作者已将其标记为弃用,新项目建议寻找替代方案。