Skip to content
Flag ⚠️ Experimental
The Flag component can be used imported from:
Important!
In the examples of the following explanations we are applying a style to the content of the badge to better visualizing the positioning of the badge in relation to the content.
Playground
Parameters
Parameters use
Check the documentation about how to use the parameters.
country
The country
code attribute is used to define the country flag to be displayed. The value must be a valid country code.
For now, possible values are: ES
for Spain, DE
for Germany, FR
for France and IT
for Italy.
More countries will be added in the future.
Browser support
Detected engine:
Chromium
Webkit
Gecko