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 |
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
ESM + CJS outputs with named exports for optimal bundle size.
SSR Compatible
Works seamlessly with Next.js, Nuxt.js, Remix, SolidStart, Astro, and other SSR frameworks.
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.