@cmsgov/ds-medicare-gov

中文文档
18.2.0发布于 2026/11/05CC0-1.0TypeScriptESM + CJS近 30 天下载 2734

A child design system built on top of the CMS Design System. Consists of SCSS overrides and React components for use on Medicare.gov websites.

原始使用文档
文档目录5 节
  1. Usage
  2. Contributing
  3. Development
  4. Design assets
  5. Additional links

Medicare.gov Design System

npm

>> View the full documentation site here <<

The Medicare.gov Design System contains shared design and front-end development resources for Medicare.gov applications, and is built on top of the CMS Design System (CMSDS). As a child design system, it inherits base styles, components, and guidance from the CMS Design System, while also adding its own features and customizations.

Usage

For full documentation on installation and usage in your Medicare.gov product, please refer to our documentation site.

Contributing

This site-wide design system has a much smaller group of users than the core CMS Design System. It's up to us to make it useful for our apps. It is a place to share code and collaborate across teams. It is our collective source of truth for design. If you want to contribute but need help getting started, shout in the #mgov-design-system Slack channel on the CMS Slack or open up an issue on this repo.

Development

See the root CMSDS README.

Design assets

You can find the Medicare design system fonts in the design-assets folder.

You can also view the Medicare Design System Figma file.

Note that access to this Figma file requires explicit permission from the Design System team.


  • For more information on the original Design System, check out its GitHub page.

版本与发布记录

@cmsgov/ds-medicare-gov 共发布 160 个版本,首次发布于 2020/08/13;过去 12 个月发布了 13 个版本。

版本发布日期距今
18.2.0latest2026/11/055 天前
18.1.02026/07/303 个月前
15.2.2lts2026/07/303 个月前
18.0.12026/06/254 个月前
15.2.12026/06/184 个月前
18.0.02026/06/045 个月前

其他发布通道:beta → 18.0.0-beta.1,lts → 15.2.2。

关于 @cmsgov/ds-medicare-gov 的常见问题

@cmsgov/ds-medicare-gov 是什么?

A child design system built on top of the CMS Design System. Consists of SCSS overrides and React components for use on Medicare.gov websites.

如何安装 @cmsgov/ds-medicare-gov?

在项目目录运行 npm install @cmsgov/ds-medicare-gov,或使用 pnpm add / yarn add / bun add。

@cmsgov/ds-medicare-gov 支持 TypeScript 吗?

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

@cmsgov/ds-medicare-gov 支持 ESM 还是 CommonJS?

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

@cmsgov/ds-medicare-gov 可以商用吗?

@cmsgov/ds-medicare-gov 使用 CC0-1.0 许可。作者放弃著作权,可不受限制地使用。以上为概括,不构成法律意见,请以许可原文为准。

@cmsgov/ds-medicare-gov 的下载量有多少?

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

@cmsgov/ds-medicare-gov 还在维护吗?

最新版本 18.2.0 发布于 2026/11/05(5 天前);至今共发布 160 个版本,其中过去 12 个月发布了 13 个;首次发布于 2020/08/13。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。