The 'toggle-password-visibility' preset flips the input s type attribute between 'password' and 'text'. The button addon writes to a per-field type-override signal provided by the adapter; the input reads the override when computing its effective type. Click the eye icon below to see the value reveal — then click again to hide.

Live Demo

Material Material
Loading live example