Skip to main content
U.S. Flag

An official website of the United States government

Stars (M.gov)

Alert:

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

Examples

Loading

Code

React

React Properties Documentation
NameTypeDefaultDescription
numberrequirednumber

Describes the number of stars to be filled in (in .5 increments)

totalnumber

Describes the total number of stars to be displayed.

ariaHiddenbooleanfalse

Describes if the stars should be hidden from a screen reader.