Skip to main content

An official website of the United States government

Here's how you know

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Design System

An official website of the United States government

Here's how you know

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CMS Design System
Theme:

Design system switcher

Version:

Design system switcher

    • For developers
    • Child Design Systems
    • Accessibility
    • Design Principles
    • Print guidelines
    • Support Policies
    • CSS normalization
      • Headings
      • Body
      • Content
      • Links
      • Lists
    • Spacing
      • Layout Grid
      • Breakpoints
    • Inverse Base
    • Theme colors
    • System color tokens
    • Components overview
    • Global config
    • Component analytics
    • Accordion
    • Alert
    • Autocomplete
    • Badge
    • Button
    • Card (M.gov)
    • Checkbox
      • Calendar Picker
      • Multi Input Date Field
      • Single Input Date Field
    • Drawer & Help Drawer
    • Dropdown
    • Filter Chip
      • Healthcare.gov Footer
      • Medicare.gov Footer
      • Healthcare.gov Header
      • Medicare.gov Header
    • Hint
    • Icon
    • Idle Timeout
    • Inline Error
    • Inset (HC.gov)
    • Label & Legend
      • Healthcare.gov Logo
      • HHS Logo
      • Medicare.gov Logo
    • Modal Dialog
    • Month Picker
    • Pagination
    • Radio Button
    • Review
    • Skip Nav
    • Spinner
    • Stars (M.gov)
    • Step List
    • Table
    • Tabs
      • Label Masked Field
      • Masked Field
      • Text Field
    • Third Party External Link
    • Tooltip
    • USA Banner
    • Vertical Navigation
    • Patterns overview
      • Forms
      • Form validation
    • Phone numbers
    • ZIP codes
    • Layouts overview
      • One Column Page Layout
    • Documentation Page
    • Utilities overview
    • Background Color
      • Border Radius
      • Border
    • Display
    • Flexbox
    • Float
    • Focus
      • Font Family
      • Font Size
      • Font Style
      • Font Weight
    • Margin
    • Overflow
    • Padding
      • Line Height
      • Measure
      • Text Alignment
      • Text Color
      • Text Decoration
      • Text Transform
      • Truncate
      • Word Break
    • Vertical Align
    • Visibility
    • Separating labels, hints, and errors in v9
    • Standardizing spacing in v7
    • Standardizing theme colors in v7
    • Sass to CSS
    • Migrating to v4 buttons
    • Migrating to v2
    • Using agnostic typography classes

What's new?

View code on GitHub

Theme:

Design system switcher

Version:

Design system switcher

Medicare.gov Logo

Renders the Medicare.gov logo.

  • Examples
  • Code
  • Component maturity

Have ideas?

  • Ask a question
  • Start a contribution on GitHub
  • Start a discussion on GitHub
  • Contact the team
  • Edit this page
Alert:

This component is only used for Medicare. Please use the theme switcher to view the component with Medicare styles.

Examples

Loading
View interactive React examples in Storybook

Code

React

Preact/React documentation for Storybook

Component maturity

This component meets 80% of our maturity criteria.

Incomplete criteria

  • Incomplete

    Forced Colors Mode (FCM): While using FCM the components text is legible and improves readability.

  • Incomplete

    Spanish translations: Includes Spanish translations for default text content.

What does this mean?

Each component is tested against the following items to gauge the component's maturity. When using incomplete components, consider the unmet criteria as applied to your product.

For more information about how we tested and validated our work for each checklist item, read our component maturity documentation.

    Accessibility

  • Complete

    Color: Meets AA color contrast standards for accessibility and color blindness.

  • Incomplete

    Forced Colors Mode (FCM): While using FCM the components text is legible and improves readability.

  • Complete

    WCAG 2.1 Level AA Conformance: All Axe checks for WCAG AA compliance have passed.

  • Complete

    Screen readers: VoiceOver, NVDA, and JAWS screen readers provide concise communication and interaction.

  • Complete

    Keyboard navigation: Component is fully navigable with a keyboard.

    Code

  • Complete

    Storybook: Component has stories to cover all defined props.

  • Complete

    Responsive: Component designed to work in all responsive breakpoints.

  • Incomplete

    Spanish translations: Includes Spanish translations for default text content.

    Tokens

  • Complete

    Code: Tokens implemented in code.

  • Complete

    Design: Tokens implemented in the Sketch.

On this page

  • Examples
  • Code
  • Component maturity

Have ideas?

  • Ask a question
  • Start a contribution on GitHub
  • Start a discussion on GitHub
  • Contact the team
  • Edit this page
Plain WritingPrivacy PolicyU.S. Web Design System
Department of Health and Human Services

A federal government website managed by the Centers for Medicare & Medicaid Services 7500 Security Boulevard, Baltimore, MD 21124