{"id":15156274,"url":"https://github.com/fiiveab/vue-toggle-switches","last_synced_at":"2026-05-15T05:04:02.866Z","repository":{"id":198140747,"uuid":"700241657","full_name":"FiiveAB/vue-toggle-switches","owner":"FiiveAB","description":"A toggle switch component for Vue.js","archived":false,"fork":false,"pushed_at":"2023-11-17T16:40:35.000Z","size":192,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-19T13:42:44.623Z","etag":null,"topics":["toggle-buttons","toggle-switches","vuejs","vuejs2"],"latest_commit_sha":null,"homepage":"","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/FiiveAB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-04T08:13:00.000Z","updated_at":"2024-03-14T12:28:07.000Z","dependencies_parsed_at":"2024-04-25T17:03:21.667Z","dependency_job_id":null,"html_url":"https://github.com/FiiveAB/vue-toggle-switches","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"41e63d4e7ff42d0685907878061a354593bc5631"},"previous_names":["klarity-software/vue-toggle-switch","klarity-software/vue-switches","fiiveab/vue-toggle-switches"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FiiveAB/vue-toggle-switches","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiiveAB%2Fvue-toggle-switches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiiveAB%2Fvue-toggle-switches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiiveAB%2Fvue-toggle-switches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiiveAB%2Fvue-toggle-switches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FiiveAB","download_url":"https://codeload.github.com/FiiveAB/vue-toggle-switches/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiiveAB%2Fvue-toggle-switches/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33054454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["toggle-buttons","toggle-switches","vuejs","vuejs2"],"created_at":"2024-09-26T19:03:10.765Z","updated_at":"2026-05-15T05:04:02.848Z","avatar_url":"https://github.com/FiiveAB.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue Toggle Switches\n\nA Vue.js component for simple switches with theme support for [bulma](http://bulma.io), [bootstrap](http://getbootstrap.com/) and custom themes.\n\nThis is originally a fork from [vue-switches](https://www.npmjs.com/package/vue-switches), which is no longer maintained.\n\nIn this fork, We've added webpack to build the component. This allows us to offer better compatibility across different environments, optimized code performance, and more granular control over the build process. \n\n## Installation\n\n```bash\nnpm install vue-toggle-switches --save\n```\n\n## Basic Usage\n\n```javascript\nimport Switches from 'vue-toggle-switches';\n\nnew Vue({\n\n    components: {\n        Switches\n    },\n\n    data () {\n        return {\n            enabled: false\n        }\n    }\n};\n```\n\n```html\n\n\u003cswitches v-model=\"enabled\"\u003e\u003c/switches\u003e\n\n```\n\n## Props\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003cth\u003eProp\u003c/th\u003e\n            \u003cth\u003eDescription\u003c/th\u003e\n        \u003c/tr\u003e\n    \u003c/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003elabel\u003c/td\u003e\n            \u003ctd\u003eA static label to always display whether on or off.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003etext-enabled\u003c/td\u003e\n            \u003ctd\u003eThe text that displays when enabled.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003etext-disabled\u003c/td\u003e\n            \u003ctd\u003eThe text that displays when disabled.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003etheme\u003c/td\u003e\n            \u003ctd\u003eWhich theme to use.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003ecolor\u003c/td\u003e\n            \u003ctd\u003eWhich color to use. \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003etype-bold\u003c/td\u003e\n            \u003ctd\u003eBigger style.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eemit-on-mount\u003c/td\u003e\n            \u003ctd\u003eBy default, a \"changed\" event is emitted when the component mounts. To disable this, set this to false.\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/tbody\u003e\n\n\u003c/table\u003e\n\n## Acknowledgements\n\nA huge shoutout to the original vue-switches project. We've forked it and made some changes to suit our needs.\n\n## License\n\n**MIT**\n\nWe hope the Vue community finds vue-toggle-switches beneficial. Your feedback and contributions are always welcome!\n\nA project by [Fiive](https://www.fiive.se).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiiveab%2Fvue-toggle-switches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiiveab%2Fvue-toggle-switches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiiveab%2Fvue-toggle-switches/lists"}