CountryRow
Country code badge with an amount, a name and a change percentage.
Import
Vue
import { UiCountryRow } from '@ziyarago/ui/vue'Top markets
UZ
SAR 42,100
▲ 14%Uzbekistan
KZ
SAR 28,600
▲ 5%Kazakhstan
TR
SAR 19,300
▼ 3%Turkey
Vue
<UiCountryRow code="UZ" name="Uzbekistan" amount="SAR 42,100" pct="+14%" /> <UiCountryRow code="KZ" name="Kazakhstan" amount="SAR 28,600" pct="+5%" /> <UiCountryRow code="TR" name="Turkey" amount="SAR 19,300" pct="-3%" />
API reference
Row with a country code badge, amount, country name and a percentage change.
Props
PropType and valuesDefaultDescription
coderequiredstring—Short code shown in the circle, such as "UZ".namerequiredstring—Country name.amountrequiredstring | number—Formatted amount shown in bold.pctstring—Percentage change such as "+8%" or "-2%".