CDN package resource index

You are viewing the CDN resource index for v11.0.3 of the @cmsgov/ds-medicare-gov package. These resources are currently loaded on this page. To understand how to use these resources, check out this page's source or the code snippets in the sections below.

See also:

How to load the CSS

Place the following HTML in your head tag:

<link rel="stylesheet" href="https://design.cms.gov/cdn/ds-medicare-gov/11.0.3/css/index.css" />
<link rel="stylesheet" href="https://design.cms.gov/cdn/ds-medicare-gov/11.0.3/css/medicare-theme.css" />
Copy snippet

How to load the JavaScript components

Web components (experimental)

Place the following code at the end of your body tag:

<script src="https://design.cms.gov/cdn/ds-medicare-gov/11.0.3/web-components/bundle/web-components.js"></script>
Copy snippet

Preact components

Place the following HTML in your head tag:

<script src="https://design.cms.gov/cdn/ds-medicare-gov/11.0.3/preact-components/bundle/preact.min.umd.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/11.0.3/preact-components/bundle/preact-components.js"></script>
Copy snippet

React components

Place the following HTML in your head tag:

<script src="https://design.cms.gov/cdn/ds-medicare-gov/11.0.3/react-components/bundle/react.production.min.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/11.0.3/react-components/bundle/react-dom.production.min.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/11.0.3/react-components/bundle/react-components.js"></script>
Copy snippet