{"id":19311954,"url":"https://github.com/yummygum/vue-flagpack","last_synced_at":"2025-06-22T19:32:34.293Z","repository":{"id":42811439,"uuid":"151694954","full_name":"Yummygum/vue-flagpack","owner":"Yummygum","description":"Flagpack contains 260+ easily implementable flag icons to use in your design or code project.","archived":false,"fork":false,"pushed_at":"2023-03-04T22:16:20.000Z","size":3687,"stargazers_count":51,"open_issues_count":19,"forks_count":8,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-02T00:41:41.040Z","etag":null,"topics":["countries","design","flagpack","flags","frontend","icons","langauges","library","npm","svg"],"latest_commit_sha":null,"homepage":"https://flagpack.xyz","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yummygum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["Yummygum"],"custom":["https://www.paypal.com/paypalme/yummygum"]}},"created_at":"2018-10-05T08:55:59.000Z","updated_at":"2025-02-02T18:49:37.000Z","dependencies_parsed_at":"2023-01-28T03:15:48.257Z","dependency_job_id":null,"html_url":"https://github.com/Yummygum/vue-flagpack","commit_stats":null,"previous_names":["yummygum/vue-flag-pack"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yummygum%2Fvue-flagpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yummygum%2Fvue-flagpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yummygum%2Fvue-flagpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yummygum%2Fvue-flagpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yummygum","download_url":"https://codeload.github.com/Yummygum/vue-flagpack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250267307,"owners_count":21402454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["countries","design","flagpack","flags","frontend","icons","langauges","library","npm","svg"],"created_at":"2024-11-10T00:31:40.703Z","updated_at":"2025-04-22T15:31:26.233Z","avatar_url":"https://github.com/Yummygum.png","language":"Vue","funding_links":["https://github.com/sponsors/Yummygum","https://www.paypal.com/paypalme/yummygum"],"categories":[],"sub_categories":[],"readme":"# Flagpack\n\nFlagpack contains 260+ flag icons to easily use within your code project. Flagpack is an open source project and available for JavaScript frameworks/libraries Angular, Vue and React.\n\n![Flagpack. 260+ easily implementable flag icons to use in your design or code project. Open Source. Available for Sketch, Figma, Angular, Vue, and React. [www.flagpack.xyz](https://www.flagpack.xyz). Made with love by Yummygum. Graphic showing a list with the flags of Argentina, Croatia, Estonia, Kenia, Netherlands, and Scotland.](https://flagpack.xyz/meta-image.png)\n\n[View documentation on flagpack.xyz](https://flagpack.xyz/docs/)\n\n## vue-flagpack\n\u003cp\u003e\n  \u003ca href=\"https://www.npmjs.com/package/vue-flagpack\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/vue-flagpack.svg?style=flat\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/vue-flagpack\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dt/vue-flagpack.svg?style=flat\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/sponsors/Yummygum\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Support-♥-E94AAA\"  /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/flagpack\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/twitter/follow/flagpack.svg?style=social\u0026label=follow\"  /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\nFlagpack for Vue is created using Vue v2.5.11. The Flagpack component has not been tested for compatibility with older version of Vue.\n\n⚠ Flagpack for Vue has been reported to not work with Vue 3. Adding support for Vue 3 has been added to the future plans of Flagpack for Vue.\n\n## Installation\n\n```bash\nnpm install vue-flagpack\n```\n\n## Usage\n### As a plugin\n```js\nimport Vue from 'vue'\nimport Flag from 'vue-flagpack'\n\nVue.use(Flag, {\n  name: 'Flag'\n})\n```\n\nIn your template:\n```jsx\n\u003ctemplate\u003e\n  \u003cvue-flagpack code=\"NL\" /\u003e\n\u003c/template\u003e\n```\n\n### Import straight away\n```js\nimport { Flag } from 'vue-flagpack'\n\nVue.component('flag-nl', {\n  components: {\n    Flag\n  },\n  template: `\n    \u003cFlag code=\"NL\" /\u003e\n  `\n})\n```\n\n### Via UNPKG network\n```html\n\u003cscript src=\"https://unpkg.com/vue-flagpack@latest/dist/vue-flag-rollup.cjs.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\nconst instance = new Vue({\n  el: '#app',\n  components: {\n    'Flag': Flag.Flag\n  },\n})\n\n// or\ninstance.use(Flag)\n\u003c/script\u003e\n```\n\n## Available plugin options\n\n| Key   | Value   | Required | Default |\n|-------|-------|------|------|\n| name |  String | false | vue-flagpack |\n\n\n\n## Available component configurations — Props\n\n| Key   | Value   | Required | Default | Format |\n|-------|-------|------|------|------|\n| code |  String | false | 'NL' | [See all codes](https://flagpack.xyz/docs/flag-index/) |\n| size |  String | false | 'L' | 'S', 'M' or 'L' |\n| className |  String | false | - | - |\n| hasDropShadow |  Boolean | false | false | - |\n| hasBorder |  Boolean | false | true | - |\n| hasBorderRadius | Boolean | false | true | - |\n| gradient |  String | false | '' | 'top-down', 'real-linear' or 'real-circular' |\n\n\n\n## Build Dist\n\n```bash\n# install dependencies\nnpm install\n\n# build for prod\nnpm run build\n\n# build with watcher for dev\nnpm run dev\n```\n\n## Releasing\nTo release a new version you'll need to make sure all changes commits are done and pushed. After that you'll need to decide which release type you want to use. The release types are; patch (0.0.1), major (0.1.0), or minor (1.0.0).\n```\nnpm version \u003crelease_type\u003e\n```\nThis will update the version number in the `package.json`, and will add a git tag automatically. Next you'll need to push the git tag to the remote.\n```\ngit push --tags origin main\n```\nAfter that you'll need to publish to npm.\n```\nnpm publish\n```\n\nWhen you're confident with the release, make sure the version tag is also released at GitHub.\n\n## Support\n\n[Frequently Asked Questions](https://flagpack.xyz/support/)\n\n[Documentation](https://flagpack.xyz/docs/)\n\n## Releases\n\nYou can find a changelog of Flagpack's releases on the [Releases page](https://github.com/Yummygum/vue-flagpack/releases) on GitHub.\n\n## Contribute\n\nIf you're interested in contributing to this project, great! Please see the [contributing document](CONTRIBUTING.md).\n\n## License\n\nFlagpack is an open source project published under a [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyummygum%2Fvue-flagpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyummygum%2Fvue-flagpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyummygum%2Fvue-flagpack/lists"}