手机号输入
- from @yiui
中国大陆手机号输入:边输边按 3-4-4 分隔且光标不乱跳,粘贴、自动填充带 +86 或横线的号码自动整理,失焦校验号段;条内可放带倒计时的「获取验证码」。值是 11 位纯数字。
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @yiui/phone-inputLive preview
No live preview has been built for this component yet.
Registry dependencies2
- button
- bar-field
Packages0
No npm packages are installed with it.
