The Masked Input component formats user input as they type (e.g. phone as (555) 123-4567). You define a mask pattern; the component enforces it and can output a clean value (e.g. digits only) for storage.
Canvas: Set Value to a data source (e.g. ThisItem.Phone). Use MaskedInput1.Value in formulas to get the current value (often stored as digits only, depending on the component). Example: Patch(Contacts, ThisItem, { Phone: MaskedInput1.Value }).
Model-Driven: Add the control to a Single line of text column; bind the column to the component’s Value.