VCountry
Props
| Name | Type | Description |
|---|---|---|
| code | string | ISO 3166-1 alpha-2 country code (e.g. "GB", "UK", "US"). When set, the component shows the matching flag (from flag-icons) and the code (e.g. "UK") automatically. |
| label | string | Optional text to show instead of the country code (e.g. "Saint Helena" for "SH"). Useful for less familiar codes. |
Slots
| Name | Description |
|---|---|
| icon | Optional custom flag or graphic. When code is set and no content is slotted, a default flag icon (Vivid/Vonage icon set) is shown. |