SpinnerA customizable loading spinner component that provides visual feedback for loading states.PreviewCode Source (opens in a new tab)Storybook (opens in a new tab) Usage import { Spinner } from "@govtechmy/myds-react/spinner"; export default () => ( <Spinner/> ); Examples Variants Use the color prop to change the spinner style! PreviewCodeLoading Gray Loading WhiteLoading Default Size Use the size prop to change the spinner size! PreviewCodesmallmediumlargedefault Show Use the show prop to show or hide the spinner PreviewCodeSpinner ShowSpinner Hide Props Spinner PropTypeDefaultcolorenumgraysizeenumsmallshowbooleantruePreviousSkiplinkNextTag