API Reference live_phone v0.4.0



A Phoenix LiveView Component for phone number input fields, basically a intl-tel-input for Phoenix LiveView.

The LivePhone.Component is a Phoenix LiveView component that can be used to prompt users for their phone numbers, and try to make it as simple as possible.

The LivePhone.Countries module can be used to list all known countries and return them ordered alphabetically, and optionally you can ensure your preferred countries are prepended to the list instead of mixed in with the rest.

The LivePhone.Country struct holds minimal information about a country, but it should be enough data for LivePhone to work it's magic.