CDN package resource index

You are viewing the CDN resource index for v12.0.4 of the @cmsgov/ds-healthcare-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-healthcare-gov/12.0.4/css/index.css" />
<link rel="stylesheet" href="https://design.cms.gov/cdn/ds-healthcare-gov/12.0.4/css/healthcare-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-healthcare-gov/12.0.4/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-healthcare-gov/12.0.4/preact-components/bundle/preact.min.umd.js"></script>
<script src="https://design.cms.gov/cdn/ds-healthcare-gov/12.0.4/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-healthcare-gov/12.0.4/react-components/bundle/react.production.min.js"></script>
<script src="https://design.cms.gov/cdn/ds-healthcare-gov/12.0.4/react-components/bundle/react-dom.production.min.js"></script>
<script src="https://design.cms.gov/cdn/ds-healthcare-gov/12.0.4/react-components/bundle/react-components.js"></script>
Copy snippet