{"repo":"MohmmedAshraf/blade-flags","free":true,"listed":false,"github":"https://github.com/MohmmedAshraf/blade-flags","clone":"git clone https://github.com/MohmmedAshraf/blade-flags.git","description":"SVG country & language flags for Laravel Blade, Vue, React, and vanilla JS — 1,759 flags in 3 styles (rounded, circle, flat)","language":"TypeScript","stars":307,"topics":["blade","blade-icons","laravel","php","country-flags","flag-icons","inertia","javascript","react","svg"],"license":"MIT","category":"dashboards-admin","readme_excerpt":"Laravel Vue React Vanilla JS Variants Contributing Introduction 1,759 SVG country and language flags for Laravel Blade, Vue, React, and vanilla JavaScript. Three flag styles, 128 language mappings, and full support for regional variants like ar-sa , en-us , and fr-ca . Works great with Inertia.js. Use them anywhere — locale switchers, address forms, dashboards, or admin panels. Variant Blade JS import Countries Languages Source ------------------- -------------------------------- ---------------- :---------: :---------: ------------------------------------------------------------ Default (rounded) defaultFlags 264 281 TwEmoji Circle circleFlags 405 275 circle-flags Flat (4:3) flatFlags 270 264 flag-icons For a full list of available icons see the SVG directories: default, circle, flat. Installation Laravel / Blade Requires PHP 8.0+ and Laravel 9+. Uses Blade Icons under the hood — see their readme for caching and additional features. Watch a 3-minute video by Povilas Korop showcasing the package. Icons can be used as self-closing Blade components which will be compiled to SVG icons. Default (Rounded Rectangle) ...produces this: ...produces this: Circle ...produces this: ...produces this: Flat (4:3 Rectangle) ...produces this: ...produces this: Classes & Attributes You can pass classes to any variant: Dynamic Icons For dynamic icon names (e.g. from a database or variable), use the @svg Blade directive: Or the svg() helper in PHP: Raw SVG Icons Publish the raw SVG files as publ","default_branch":null,"files":null,"tree":[],"storefront":"/r/MohmmedAshraf","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MohmmedAshraf/blade-flags/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}