You are viewing the CDN resource index for v12.1.0 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:
Place the following HTML in your head tag:
<link rel="stylesheet" href="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/css/index.css" />
<link rel="stylesheet" href="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/css/medicare-theme.css" />
To import all web components, place the following code at the end of your body tag:
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/all.js"></script>
To import a select set of web components, place the following code at the end of your body tag and remove the script tags for the components that you do not need:
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/base.js"></script>
<!-- Remove any of the following component imports that you do not need -->
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-accordion.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-alert.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-badge.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-button.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-choice.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-dropdown.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-hint.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-inline-error.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-label.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-month-picker.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-pagination.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-skip-nav.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-spinner.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/web-components/bundle/ds-usa-banner.js"></script>
Place the following HTML in your head tag:
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/preact-components/bundle/preact.min.umd.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/preact-components/bundle/preact-components.js"></script>
Place the following HTML in your head tag:
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/react-components/bundle/react.production.min.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/react-components/bundle/react-dom.production.min.js"></script>
<script src="https://design.cms.gov/cdn/ds-medicare-gov/12.1.0/react-components/bundle/react-components.js"></script>