Basic Usage
Available Methods
Sets the input type to email and adds email validation.
Sets the input type to numeric and adds numeric validation.
Sets the input type to integer and adds integer validation.
Sets the input type to password.
Sets the input type to tel and adds phone number validation.
Sets the input type to URL and adds URL validation.
Sets a custom HTML input type.
Applies an input mask using Alpine.js.
Adds text before the input.
Adds text after the input.
Adds an icon before the input.
Adds an icon after the input.
Sets the color of the prefix icon.
Sets the color of the suffix icon.
Makes password inputs revealable with a toggle button.
Adds a copy-to-clipboard button.
Adds datalist autocomplete options.
Sets the autocomplete attribute.
Sets the autocapitalize attribute.
Sets the inputmode attribute.
Sets the step attribute for numeric inputs.
Sets the minimum value for numeric inputs.
Sets the maximum value for numeric inputs.
Sets the minimum length validation.
Sets the maximum length validation.
Sets the exact length validation.
Sets a custom regex for tel validation.
Adds current password validation.
Strips specific characters from the input.
Trims whitespace from the input.
Makes the input read-only.
Sets the placeholder text.