Flags

Bootstrap 5 Flags

A flag is used to represent a political state.


Definition

Flag

A flag can use the two digit country code, the full name, or a common alias

        
            
        <i class="flag flag-us"></i>
        <i class="flag flag-poland"></i>
        <i class="flag flag-china"></i>
      
        
    

Types

Many flag sets use SVG to render flags at multiple sizes. However SVG flags usually appear blurry or render improperly at smaller sizes. MDB default theme uses an image sprite solution which provides crisper icons, but without the ability to resize.


United States
Selected Flag
<i class="flag flag-united-states"></i>

Flag Name ISO 3166-2 Code ? Additional Aliases