{"id":22106979,"url":"https://github.com/legitcode/tabs","last_synced_at":"2025-07-25T03:32:16.690Z","repository":{"id":95859283,"uuid":"42141267","full_name":"Legitcode/tabs","owner":"Legitcode","description":"tabs, done right","archived":false,"fork":false,"pushed_at":"2017-10-11T23:54:30.000Z","size":895,"stargazers_count":14,"open_issues_count":2,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-24T09:34:25.636Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://legitcode.github.io/tabs/","language":"JavaScript","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/Legitcode.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-08T21:58:23.000Z","updated_at":"2022-02-10T10:45:10.000Z","dependencies_parsed_at":"2023-04-13T09:32:34.883Z","dependency_job_id":null,"html_url":"https://github.com/Legitcode/tabs","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/Legitcode%2Ftabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Legitcode%2Ftabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Legitcode%2Ftabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Legitcode%2Ftabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Legitcode","download_url":"https://codeload.github.com/Legitcode/tabs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227515121,"owners_count":17782642,"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":[],"created_at":"2024-12-01T08:13:24.973Z","updated_at":"2024-12-01T08:13:25.654Z","avatar_url":"https://github.com/Legitcode.png","language":"JavaScript","readme":"##Tabs\n\nA basic tabs component, with a few customizable props.\n\n##Install\n\n`npm install legit-tabs`\n\n##Example\n\n~~~js\nimport {Tabs, Tab} from 'legit-tabs';\n\n\u003cTabs className=\"accordion-tabs-minimal\" active=\"second\"\u003e\n  \u003cTab name=\"first\"\u003e\n    hey\n  \u003c/Tab\u003e\n  \u003cTab name=\"second\" style={{background: 'yellow'}}\u003e\n    whats up\n  \u003c/Tab\u003e\n  \u003cTab name=\"third\" className=\"test\"\u003e\n    hello\n  \u003c/Tab\u003e\n\u003c/Tabs\u003e\n~~~\n\n##Props\n\n**Tabs**:\n\n- `active`: Name of the tab you want to be active, defaults to the first one if empty\n- anything else you'd like to set on the containing ul\n\n**Tab**:\n\n- `name`: a unique name for the tab, represents the tab title.\n- `liClass`, `liStyle`: class on the li for the tab.\n- `contentClass`: class on the div that holds the tab content.\n- anything else you'd like to set on the tab's containing div.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flegitcode%2Ftabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flegitcode%2Ftabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flegitcode%2Ftabs/lists"}