<InputLabel required htmlFor="sign-up-switch">Sign up</InputLabel>
<Switch.Root id="sign-up-switch">
  <Switch.Thumb />
</Switch.Root>