CDN package resource index

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