{"id":18015541,"url":"https://github.com/ehsan-shv/vb-radio","last_synced_at":"2025-04-04T15:17:26.397Z","repository":{"id":57391032,"uuid":"464465279","full_name":"ehsan-shv/vb-radio","owner":"ehsan-shv","description":"Vue3 and Nuxt3 customizable radio input.","archived":false,"fork":false,"pushed_at":"2022-02-28T14:56:08.000Z","size":836,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T19:01:47.273Z","etag":null,"topics":["form","input","nuxt3","radio-buttons","typescript","vue3"],"latest_commit_sha":null,"homepage":"https://ehsan-shv.github.io/vb-radio/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ehsan-shv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-28T12:02:18.000Z","updated_at":"2023-03-07T06:48:56.000Z","dependencies_parsed_at":"2022-09-16T13:10:25.025Z","dependency_job_id":null,"html_url":"https://github.com/ehsan-shv/vb-radio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsan-shv%2Fvb-radio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsan-shv%2Fvb-radio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsan-shv%2Fvb-radio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsan-shv%2Fvb-radio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehsan-shv","download_url":"https://codeload.github.com/ehsan-shv/vb-radio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247198473,"owners_count":20900082,"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":["form","input","nuxt3","radio-buttons","typescript","vue3"],"created_at":"2024-10-30T04:14:18.064Z","updated_at":"2025-04-04T15:17:26.373Z","avatar_url":"https://github.com/ehsan-shv.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vb-radio\n\n\u003ca href=\"https://www.npmjs.com/package/vb-radio\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/vb-radio.svg\" alt=\"Version\"\u003e\u003c/a\u003e\n\n**Vue 3 radio input component.**\n\n\u003e Support Vue3, Nuxt3 and type-safe. [Demo](https://ehsan-shv.github.io/vb-radio/)\n\n## Instalation\n\n```bash\nnpm i vb-radio\n```\n\n## Basic Example\n\n```js\n\u003ctemplate\u003e\n  \u003cRadioGroup v-model=\"framework\" name=\"frameworks\" :options=\"frameworks\" /\u003e\n\u003c/template\u003e\n\n\u003cscript lang=\"ts\"\u003e\nimport { defineComponent, ref } from 'vue';\nimport { RadioGroup } from 'vb-input';\n\nexport default defineComponent({\n  name: 'App',\n  components: {\n    RadioGroup,\n  },\n  setup() {\n    const frameworks = ref([\n      { label: 'Vue', value: 'vue' },\n      { label: 'React', value: 'react' },\n      { label: 'Angular', value: 'angular' },\n      { label: 'Svelte', value: 'svelte' },\n    ]);\n\n    const framework = ref('vue');\n\n    return { frameworks, framework };\n  },\n});\n\u003c/script\u003e\n```\n\n## Vertical Example\n\n```js\n\u003ctemplate\u003e\n  \u003cRadioGroup :vertical=\"true\" v-model=\"framework\" name=\"frameworks\" :options=\"frameworks\" /\u003e\n\u003c/template\u003e\n\n\u003cscript lang=\"ts\"\u003e\nimport { defineComponent, ref } from 'vue';\nimport { RadioGroup } from 'vb-input';\n\nexport default defineComponent({\n  name: 'App',\n  components: {\n    RadioGroup,\n  },\n  setup() {\n    const frameworks = ref([\n      { label: 'Vue', value: 'vue' },\n      { label: 'React', value: 'react' },\n      { label: 'Angular', value: 'angular' },\n      { label: 'Svelte', value: 'svelte' },\n    ]);\n\n    const framework = ref('vue');\n\n    return { frameworks, framework };\n  },\n});\n\u003c/script\u003e\n```\n\n## RTL Example\n\n```js\n\u003ctemplate\u003e\n  \u003cRadioGroup :rtl=\"true\" v-model=\"framework\" name=\"frameworks\" :options=\"frameworks\" /\u003e\n\u003c/template\u003e\n\n\u003cscript lang=\"ts\"\u003e\nimport { defineComponent, ref } from 'vue';\nimport { RadioGroup } from 'vb-input';\n\nexport default defineComponent({\n  name: 'App',\n  components: {\n    RadioGroup,\n  },\n  setup() {\n    const frameworks = ref([\n      { label: 'Vue', value: 'vue' },\n      { label: 'React', value: 'react' },\n      { label: 'Angular', value: 'angular' },\n      { label: 'Svelte', value: 'svelte' },\n    ]);\n\n    const framework = ref('vue');\n\n    return { frameworks, framework };\n  },\n});\n\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehsan-shv%2Fvb-radio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehsan-shv%2Fvb-radio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehsan-shv%2Fvb-radio/lists"}