diff --git a/packages/@mantine/core/src/components/PasswordInput/PasswordInput.tsx b/packages/@mantine/core/src/components/PasswordInput/PasswordInput.tsx index 4a8ecef9d66..a490c25553b 100644 --- a/packages/@mantine/core/src/components/PasswordInput/PasswordInput.tsx +++ b/packages/@mantine/core/src/components/PasswordInput/PasswordInput.tsx @@ -152,7 +152,7 @@ export const PasswordInput = factory((_props, ref) => { aria-hidden={!visibilityToggleButtonProps} tabIndex={-1} {...visibilityToggleButtonProps} - variant="subtle" + variant={visibilityToggleButtonProps?.variant ?? 'subtle'} color="gray" unstyled={unstyled} onTouchEnd={(event) => {