{"id":13635388,"url":"https://github.com/jakedohm/vue-accessible-tabs","last_synced_at":"2025-04-19T04:30:58.781Z","repository":{"id":117769955,"uuid":"265045658","full_name":"jakedohm/vue-accessible-tabs","owner":"jakedohm","description":"An accessible, unstyled \u003cTabs\u003e implementation for Vue 2","archived":false,"fork":false,"pushed_at":"2020-05-20T14:48:01.000Z","size":14,"stargazers_count":25,"open_issues_count":9,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-18T03:31:45.879Z","etag":null,"topics":["tabs","vue","vuejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/jakedohm.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}},"created_at":"2020-05-18T19:49:27.000Z","updated_at":"2022-07-21T19:35:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"51dbbb66-c4f3-431d-a618-8eb3ab55b7d7","html_url":"https://github.com/jakedohm/vue-accessible-tabs","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakedohm%2Fvue-accessible-tabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakedohm%2Fvue-accessible-tabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakedohm%2Fvue-accessible-tabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakedohm%2Fvue-accessible-tabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakedohm","download_url":"https://codeload.github.com/jakedohm/vue-accessible-tabs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249606270,"owners_count":21298851,"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":["tabs","vue","vuejs"],"created_at":"2024-08-02T00:00:44.936Z","updated_at":"2025-04-19T04:30:58.538Z","avatar_url":"https://github.com/jakedohm.png","language":"JavaScript","funding_links":[],"categories":["Components and plugins"],"sub_categories":["Courses"],"readme":"# vue-accessible-tabs\n\n## Usage\n\n```vue\n\u003cTabs\u003e\n  \u003cTabList\u003e\n    \u003cTab\u003eGive\u003c/Tab\u003e\n    \u003cTab\u003e\n      \u003cspan class=\"font-bold\"\u003eYou\u003c/span\u003e\n    \u003c/Tab\u003e\n    \u003cTab\u003eUp\u003c/Tab\u003e\n  \u003c/TabList\u003e\n\n  \u003cTabPanels\u003e\n    \u003cTabPanel\u003e\n      \u003cdiv\u003ePanel #1\u003c/div\u003e\n    \u003c/TabPanel\u003e\n    \u003cTabPanel\u003e\n      \u003cdiv\u003ePanel #2\u003c/div\u003e\n    \u003c/TabPanel\u003e\n    \u003cTabPanel\u003e\n      \u003cdiv\u003ePanel #3\u003c/div\u003e\n    \u003c/TabPanel\u003e\n  \u003c/TabPanels\u003e\n\u003c/Tabs\u003e\n```\n\n## Installation\n\n```bash\n# yarn\nyarn add vue-accessible-tabs\n\n# npm\nnpm install vue-accessible-tabs\n```\n\n## Using the Components\n\n### Importing\n\n```js\nimport { Tabs, Tab, TabList, TabPanels, TabPanel } from 'vue-accessible-tabs'\n```\n\n### Global Registration\n\n```js\nimport { Tabs, Tab, TabList, TabPanels, TabPanel } from 'vue-accessible-tabs'\n\n// Globally register\nVue.component('Tabs', Tabs)\nVue.component('Tab', Tab)\nVue.component('TabList', TabList)\nVue.component('TabPanels', TabPanels)\nVue.component('TabPanel', TabPanel)\n```\n\n## Styling\n\nThis library provides no default styling, it's totally BYOS. The good news is: each component only renders one element, so you can style it by simply adding classes. This means it'll play nice with pretty much any approach to styling.\n\n## Roadmap\n\n- Document \u003cTab\u003e APIs\n- Add examples\n  - How to style\n  - Animating `\u003cTabPanel\u003e` in/out\n- Document keyboard behavior\n\n## FAQ\n\n**Q**: How do I use this on a site where I'm not bundling my code?\u003cbr/\u003e\n**A**: You can't, yet. I'll get around to bundling, sometime, maybe, tho I might not because ESM rules and I hate bundling...\n\n**Q**: Can I pass HTML into the slots of these components?\u003cbr/\u003e\n**A**: Yes, anything is fair game **except** you can _only_ pass `\u003cTab\u003e` elements to `\u003cTabList\u003e`, and you can only pass `\u003cTabPanel\u003e` elements to `\u003cTabPanels\u003e`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakedohm%2Fvue-accessible-tabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakedohm%2Fvue-accessible-tabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakedohm%2Fvue-accessible-tabs/lists"}