Examples
Default
Filled
Error State
With Helper Text
All sizes
Props
PhoneField
A phone number input with a country selector (flag + chevron), a fixed dial code prefix, and atel input. The country picker itself is owned by the consumer: pass the selected country’s flag and dialCode, and open your picker from onCountrySelect.
Provide at least one of label, aria-label, or aria-labelledby for accessibility — a console warning is emitted in development if none are set.
Flag of the selected country, rendered in the country selector (e.g. an image or flag icon).
Fired when the country selector (flag + chevron) is activated. Open the country picker here.
Exported types
Also exported from@fanvue/ui: PhoneFieldProps, PhoneFieldSize.
Setup: Installation · Theming