Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Made a Phone Input component with shadcn ui and libphonenumber-js

48,295 Aufrufe • vor 2 Jahren •via X (Twitter)

11 Kommentare

Profilbild von Damián Ricobelli
Damián Ricobellivor 2 Jahren

Website: GitHub repo:

Profilbild von Paul 🚧
Paul 🚧vor 2 Jahren

@shadcn Did you take into account, that Windows doesn't support flag emojis?

Profilbild von Damián Ricobelli
Damián Ricobellivor 2 Jahren

@paul_koeck @shadcn Yes! For a first version, I didn’t want to dwell on it too much. Another way to solve it can be with svg for each country, but I have to investigate a little more.

Profilbild von Francis Baker
Francis Bakervor 2 Jahren

@shadcn You’ve been cranking out some amazing components lately. The stepper is one of my favorites, and using that in an app.

Profilbild von Damián Ricobelli
Damián Ricobellivor 2 Jahren

@shadcn Thank you very much, Francis ❤️

Profilbild von Abdulhamit Akaslan
Abdulhamit Akaslanvor 2 Jahren

@shadcn Nice job! I just find a weird bug on "Ctrl" + "Z" to revert last char. It keeps copy-paste whole input. Also "Ctrl" + "A" and "Delete" not working properly too.

Profilbild von Damián Ricobelli
Damián Ricobellivor 2 Jahren

@shadcn Thank you for discovering it! I will try to make the fix between today and tomorrow.

Profilbild von Mohammad Alnahhas
Mohammad Alnahhasvor 2 Jahren

@shadcn Looks very neat! One minor issue I discovered is searching with the country code does not work properly.

Profilbild von Damián Ricobelli
Damián Ricobellivor 2 Jahren

@shadcn Hey! Could you create an issue in the GitHub repo?

Profilbild von Jidé ✨
Jidé ✨vor 2 Jahren

@shadcn Added your component to my shadcn/ui additional components and resources post

Profilbild von Damián Ricobelli
Damián Ricobellivor 2 Jahren

@shadcn Thank you 🙏

Ähnliche Videos