{"componentChunkName":"component---src-pages-components-checkbox-code-mdx","path":"/components/checkbox/code/","result":{"pageContext":{"frontmatter":{"title":"Checkbox","description":"Checkboxes are used for a list of options where the user may select multiple options, including all or none.","tabs":["Code","Usage","Style","Accessibility"]},"relativePagePath":"/components/checkbox/code.mdx","titleType":"prepend","MdxNode":{"id":"cfbe2e90-85e6-586e-b1a9-ba4a16ed4a97","children":[],"parent":"cf6a7c8d-35dd-5035-8be1-cb9ce2e21350","internal":{"content":"---\ntitle: Checkbox\ndescription: Checkboxes are used for a list of options where the user may select multiple options, including all or none.\ntabs: ['Code', 'Usage', 'Style', 'Accessibility']\n---\n\n<ComponentDemo\n  links={{\n    React: 'http://react.carbondesignsystem.com/?path=/story/checkbox--checked',\n    Angular:\n      'https://angular.carbondesignsystem.com/?path=/story/components-checkbox--basic',\n    Vue:\n      'http://vue.carbondesignsystem.com/?path=/story/components-cvcheckbox--default',\n    Vanilla: 'https://the-carbon-components.netlify.com/?nav=checkbox',\n  }}\n  knobs={{ Checkbox: ['indeterminate', 'disabled', 'hideLabel'] }}>\n  {`\n<fieldset className=\"bx--fieldset\">\n  <legend className=\"bx--label\">Checkbox heading</legend>\n  <Checkbox defaultChecked labelText=\"Checkbox label\" id=\"checked\" />\n</fieldset>`}\n</ComponentDemo>\n","type":"Mdx","contentDigest":"222e3689075c0251b099bdf0e683b403","counter":1493,"owner":"gatsby-plugin-mdx"},"frontmatter":{"title":"Checkbox","description":"Checkboxes are used for a list of options where the user may select multiple options, including all or none.","tabs":["Code","Usage","Style","Accessibility"]},"exports":{},"rawBody":"---\ntitle: Checkbox\ndescription: Checkboxes are used for a list of options where the user may select multiple options, including all or none.\ntabs: ['Code', 'Usage', 'Style', 'Accessibility']\n---\n\n<ComponentDemo\n  links={{\n    React: 'http://react.carbondesignsystem.com/?path=/story/checkbox--checked',\n    Angular:\n      'https://angular.carbondesignsystem.com/?path=/story/components-checkbox--basic',\n    Vue:\n      'http://vue.carbondesignsystem.com/?path=/story/components-cvcheckbox--default',\n    Vanilla: 'https://the-carbon-components.netlify.com/?nav=checkbox',\n  }}\n  knobs={{ Checkbox: ['indeterminate', 'disabled', 'hideLabel'] }}>\n  {`\n<fieldset className=\"bx--fieldset\">\n  <legend className=\"bx--label\">Checkbox heading</legend>\n  <Checkbox defaultChecked labelText=\"Checkbox label\" id=\"checked\" />\n</fieldset>`}\n</ComponentDemo>\n","fileAbsolutePath":"/zeit/3f757860/src/pages/components/checkbox/code.mdx"}}}}