400+ Flags
Comprehensive collection of country, territory, subdivision, and organization flags.
Welcome to circle-flags-ui, a modern library for circular flag components supporting multiple frameworks.
This library provides 400+ circular SVG flag components with Full-TypeScript support & Tree-shaking Optimization.
Perfect for applications that need fast, crisp country flags without external image requests.
| Package | Framework | Status |
|---|---|---|
@sankyu/react-circle-flags |
React | ✅ Stable |
@sankyu/vue-circle-flags |
Vue 3 | 🚧 Beta |
@sankyu/solid-circle-flags |
Solid.js | 🚧 Beta |
@sankyu/svelte-circle-flags |
Svelte 5 | 🚧 Beta |
Follow these guides to master the library:
400+ Flags
Comprehensive collection of country, territory, subdivision, and organization flags.
TypeScript Ready
Full type definitions with autocomplete and type safety for all components.
Tree-shakable
Framework-native ESM packages with tree-shakeable exports; React, Vue, and Solid also include CommonJS builds.
SSR Verified
First-response SVG rendering is continuously tested with Next.js App Router and Nuxt.
Inline SVG
Flags are embedded as framework components (named imports & DynamicFlag), so they work offline with no external requests.
Standard Props
Named imports & DynamicFlag accept standard SVG props for easy customization.
Modern Architecture
Developer Experience
Framework Support
Performance
Ready to dive in? Start with Installation to add the library to your project.