You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

antd-imask-input

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antd-imask-input

Ant Design iMasked Input

1.1.4
latest
Source
npmnpm
Version published
Weekly downloads
101
-73.83%
Maintainers
0
Weekly downloads
 
Created
Source

📚 Introduction

An iMasked Ant Design Input component.

Is this package usefull to you?

Buy Me A Coffee

Or give it a ⭐ on GitHub.

🧰 Installation

yarn add antd-imask-input

💡 Usage Example

import InputMasked from 'antd-imask-input'

function MyMaskedInputComponent() {

  return (
    <InputMasked
      mask={ '0[0][0].0[0][0].0[0][0].0[0][0]' }
      maskOptions={ {
        lazy: true // makes mask placeholder invisible
      } }
      placeholder={ 'Type here' }
      size={  'large' }
      allowClear={ true }
      autoComplete='off'
      // ... any other react/antd prop
    />
  )
}

Mask Options

OptionDescriptionOptions
maskiMask mask patternstring | RegExp | Date | number
onChangeMask change event.(event: ChangeEvent & {maskedValue: string unmaskedValue: string }) => any
maskOptionsiMask optionsSee InputMaskOptions
enableLogsEnables component logsfalse
propsAny other React/Antd props-

👷 Built With

  • iMask
  • Ant Design

🔎 About

This package requires you to use:

  • react: >= 18
  • antd: >= 5

Make sure to use only supported versions before opening issues.

📚 Author

Made with ❤️ by luicfrr

Keywords

react

FAQs

Package last updated on 29 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts