Login to follow
Country Flags

Country Flags (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 23 October 2025 by André Cruz
Country Flags

Country Flags (ODC)

Details
Detailed Description

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