{"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":"1c332f3d-1ca7-5789-b4b1-055a62dd5591","children":[],"parent":"685a3691-2ec3-5492-b309-9ee9a579ae8d","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":"dadedabcbc983c9677dd0965afc681d0","counter":1484,"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/767b4790/src/pages/components/checkbox/code.mdx"}}}}