{"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":"b413a6b6-1711-5bd0-9ca8-f73d375aa646","children":[],"parent":"3aad8e5e-a0eb-5fdc-9e9b-ad3401de6c18","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":"731f159411ca079e0c0f06a99cd462b2","counter":1480,"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/512c25b6/src/pages/components/checkbox/code.mdx"}}}}