{"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":"9392cfec-1363-5627-ab54-7a47aa55b971","children":[],"parent":"ef8d047f-be7c-5ffe-b1e6-bf5f81c6cdd7","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":"00f2c91faafc1a5fcc4a936c01cad488","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/1c2d2ee2/src/pages/components/checkbox/code.mdx"}}}}