- Calendar15
- Checkbox13
- Color PickerNew6
- Combobox12
- Field10
- File UploadNew10
- Image CropperNew10
- Input GroupNew10
- Input25
- Native Select9
- Number InputNew15
- Password InputNew13
- Radio Group15
- Range SliderNew15
- Date PickerNew15
- MentionNew12
- Mask InputNew8
- OTP InputNew15
- RatingNew18
- RepeaterNew6
- Rich Text EditorNew12
- Select15
- Switch10
- Textarea11
- Time PickerNew10
- Toggle7
- Components
- Form
- Mask Input
Shadcn Mask Input Components
An input that formats what people type into phone numbers, dates, times, credit cards, currency, percentages, IP addresses, and custom patterns, with caret aware editing, paste support, validation modes, and form integration. Built on ui-sdk and styled with shadcn/ui theme tokens. Browse our collection of 8 Shadcn Mask Input variants.
Phone number
Masked: None · Raw: None
Built-in patterns
phone
ssn
date
time
creditCard
creditCardExpiry
zipCode
zipCodeExtended
currency
percentage
licensePlate
ipv4
macAddress
isbn
ein
Currency and locale
en-US · 1234.56
de-DE · 2499.9
ja-JP · 150000
en-GB · 89.5
Custom patterns
Letters are converted to uppercase.
Fixed prefix with grouped digits.
Custom format function with a prefix.
Validation modes
Card information
With react-hook-form
With addons
Unlock premium components
Explore Shadcn Blocks
Ready-made page sections built with the same components.















