Overview:The Country Flags component allows you to easily display country flags in your applications using ISO Alpha-2 or Alpha-3 country codes. It’s a fully client-side reactive component with no server-side dependencies, ensuring fast and seamless rendering.
Key Features:
Display country flags using Alpha-2 (e.g., “US”) or Alpha-3 (e.g., “USA”) country codes.
Supports three predefined flag sizes:
Small: 16×16 px
Medium: 32×32 px
Large: 64×64 px
Fully client-side implementation for optimal performance.
Includes all country flags as PNG resources for offline availability.
Simple to use and integrate into any ODC reactive app.
Technical Details:All flag images are packaged into three PNG sprite files included as component resources. The component references these internally to render the appropriate flag dynamically based on the provided code and selected size.
Credits:Based on the open-source project https://github.com/luciopaiva/country-flags
BSD-3 license (https://opensource.org/licenses/BSD-3-Clause)