Dynamic Country Flags makes it easy to add country flags to any Framer project without uploading and managing flag assets manually.
Choose a country from a built-in list, or bind a text value from your CMS, variables, or component props and let the component resolve the correct flag automatically. It supports both full country names and common ISO-style inputs like US, DE, KR, along with many familiar naming variations.
Use SVG for crisp vector flags at any size, or switch to PNG when you want access to Flagpedia’s raster variants and size presets. In PNG mode, you can choose between waving, fixed width, and fixed height styles, then select from the official sizes supported by the Flagpedia API.
The component is built for real Framer workflows:
Manual country picker for static designs
Dynamic text input for CMS-driven content
SVG and PNG output modes
PNG variant selection: waving, fixed width, fixed height
Size presets based on the selected PNG variant
Adjustable corner radius
Custom alt text support for accessibility
Because the flags are loaded directly from Flagpedia’s CDN, you do not need to store flag files inside your Framer project. That keeps setup simple and makes it especially useful for CMS collections, country directories, travel sites, international landing pages, pricing pages, team locations, and multilingual or geo-targeted experiences.