@extends('layouts.app') {{-- forms/input-masks — faithful re-expression of src/html/forms/input-masks.html. Same DOM/classes/ARIA and demo copy/data. Alpine x-data moved from
to a content wrapper (shell layout owns
). --}} @section('content')

Input masks

Guided entry for phone, card, currency, dates and identifiers — the mask guide is decorative, raw values submit.

Form submitted with masked values
Contact

Phone & identifiers

Separators are inserted automatically as you type.

US format · (000) 000-0000
EIN · NN-NNNNNNN
IPv4 · four octets, dot-separated.
Payment

Card details

Brand glyph detected from the leading digits.

Never stored or logged.
Grouped in fours · letters auto-uppercased.
Numeric

Currency & percent

Thousands separators and fixed decimals.

$ USD
Two decimals · grouped thousands.
%
kg
Temporal

Date & time

Typeable masks for ISO dates and clock values.

ISO 8601 · YYYY-MM-DD
Submitted payload

What the server receives

Masks are visual only — the unformatted value is what gets sent.

@endsection @push('scripts') @endpush