unovue / shadcn-vue

Vue port of shadcn-ui
https://www.shadcn-vue.com/
MIT License
4.71k stars 270 forks source link

[Bug]: Desired deviation for shadcn/Input OTP and shadcn-vue/PIN Input #799

Open Ryuka25 opened 1 week ago

Ryuka25 commented 1 week ago

Reproduction

https://ui.shadcn.com/docs/components/input-otp and https://www.shadcn-vue.com/docs/components/pin-input.html

Describe the bug

Not really a bug, but I couldn't find a similar component with the same UI in shadcn-vue. An OTP input could be useful in some use cases, but we can also use the pin input flawlessly.

System Info

npx envinfo --system --npmPackages vue,@vueuse/core,radix-vue,nuxt,shadcn-vue,shadcn-nuxt,unplugin-auto-import --binaries --browsers

Contributes

sadeghbarati commented 5 days ago

https://github.com/wobsoriano/vue-input-otp

Related PR with the components you can copy and paste it https://github.com/unovue/shadcn-vue/pull/393