{"componentChunkName":"component---src-pages-components-tabs-code-mdx","path":"/components/tabs/code/","result":{"pageContext":{"frontmatter":{"title":"Tabs","description":"Tabs are used to quickly navigate between views within the same context.","tabs":["Code","Usage","Style","Accessibility"]},"relativePagePath":"/components/tabs/code.mdx","titleType":"prepend","MdxNode":{"id":"3481dd7f-95e1-5453-aa68-82cde1c55415","children":[],"parent":"87219d52-cf7a-5223-a8aa-583570747b3a","internal":{"content":"---\ntitle: Tabs\ndescription: Tabs are used to quickly navigate between views within the same context.\ntabs: [\"Code\", \"Usage\", \"Style\", \"Accessibility\"]\n---\n\n## Tabs\n\n<ComponentDemo\n  links={{\n    React: \"https://react.carbondesignsystem.com/?path=/story/tabs--default\",\n    Angular:\n      \"https://angular.carbondesignsystem.com/?path=/story/components-tabs--basic\",\n    Vue:\n      \"http://vue.carbondesignsystem.com/?path=/story/components-cvtabs--default\",\n    Vanilla: \"https://the-carbon-components.netlify.com/?nav=tabs\",\n  }}\n  knobs={{ Tab: [\"disabled\", \"selected\"] }}\n>\n  {`\n<div style={{ width: '50%'}}>\n  <Tabs>\n    <Tab\n      href=\"#\"\n      id=\"tab-1\"\n      label=\"Tab label 1\"\n    >\n      <div className=\"some-content\">\n        Content for first tab goes here.\n      </div>\n    </Tab>\n    <Tab\n      href=\"#\"\n      id=\"tab-2\"\n      label=\"Tab label 2\"\n    >\n      <div className=\"some-content\">\n        Content for second tab goes here.\n      </div>\n    </Tab>\n    <Tab\n      href=\"#\"\n      id=\"tab-3\"\n      label='Tab label 3'\n    >\n      <div className=\"some-content\">\n        Content for third tab goes here.\n      </div>\n    </Tab>\n  </Tabs>\n</div>\n  `}\n</ComponentDemo>\n","type":"Mdx","contentDigest":"2232d9327fab98109583701953da13a8","counter":1550,"owner":"gatsby-plugin-mdx"},"frontmatter":{"title":"Tabs","description":"Tabs are used to quickly navigate between views within the same context.","tabs":["Code","Usage","Style","Accessibility"]},"exports":{},"rawBody":"---\ntitle: Tabs\ndescription: Tabs are used to quickly navigate between views within the same context.\ntabs: [\"Code\", \"Usage\", \"Style\", \"Accessibility\"]\n---\n\n## Tabs\n\n<ComponentDemo\n  links={{\n    React: \"https://react.carbondesignsystem.com/?path=/story/tabs--default\",\n    Angular:\n      \"https://angular.carbondesignsystem.com/?path=/story/components-tabs--basic\",\n    Vue:\n      \"http://vue.carbondesignsystem.com/?path=/story/components-cvtabs--default\",\n    Vanilla: \"https://the-carbon-components.netlify.com/?nav=tabs\",\n  }}\n  knobs={{ Tab: [\"disabled\", \"selected\"] }}\n>\n  {`\n<div style={{ width: '50%'}}>\n  <Tabs>\n    <Tab\n      href=\"#\"\n      id=\"tab-1\"\n      label=\"Tab label 1\"\n    >\n      <div className=\"some-content\">\n        Content for first tab goes here.\n      </div>\n    </Tab>\n    <Tab\n      href=\"#\"\n      id=\"tab-2\"\n      label=\"Tab label 2\"\n    >\n      <div className=\"some-content\">\n        Content for second tab goes here.\n      </div>\n    </Tab>\n    <Tab\n      href=\"#\"\n      id=\"tab-3\"\n      label='Tab label 3'\n    >\n      <div className=\"some-content\">\n        Content for third tab goes here.\n      </div>\n    </Tab>\n  </Tabs>\n</div>\n  `}\n</ComponentDemo>\n","fileAbsolutePath":"/zeit/3b23ef32/src/pages/components/tabs/code.mdx"}}}}