省市区选择
- from @yiui
分步选择省 / 市 / 区:步骤条清楚显示第几步、可点回上一步,长列表按拼音首字母分组,支持汉字、全拼、首字母搜索;手机上从底部弹出面板。值只存最末一级的代码,数据由 props 传入、可惰性加载。
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/region-pickerLive preview
No live preview has been built for this component yet.
Registry dependencies4
- button
- input
- popover
- sheet
