{"componentChunkName":"component---src-pages-components-modal-code-mdx","path":"/components/modal/code/","result":{"pageContext":{"isCreatedByStatefulCreatePages":true,"frontmatter":{"title":"Modal","description":"Modals communicate information via a secondary window and allow the user to maintain the context of a particular task. Modals interrupt user workflow by design.","tabs":["Code","Usage","Style","Accessibility"]},"relativePagePath":"/components/modal/code.mdx","titleType":"prepend","MdxNode":{"id":"bfb79053-32ef-53fc-ac4f-4b65f96d1620","children":[],"parent":"929ef807-413d-5053-90b9-7c7979848ea7","internal":{"content":"---\ntitle: Modal\ndescription: Modals communicate information via a secondary window and allow the user to maintain the context of a particular task. Modals interrupt user workflow by design.\ntabs: ['Code', 'Usage', 'Style', 'Accessibility']\n---\n\n<ComponentCode\n  name=\"Transactional Modal\"\n  component=\"modal\"\n  variation=\"modal\"\n  hasReactVersion=\"modal--default\"\n  hasVueVersion=\"modal--buttons\"\n  hasAngularVersion=\"?path=/story/modal--transactional\"\n  codepen=\"QPNEOv\"\n/>\n<ComponentCode\n  name=\"Passive Modal\"\n  component=\"modal\"\n  variation=\"modal--nofooter\"\n  hasReactVersion=\"modal--default\"\n  hasVueVersion=\"modal--default\"\n  hasAngularVersion=\"?path=/story/modal--passive\"\n  codepen=\"bJpeag\"\n/>\n<ComponentCode\n  name=\"Danger Modal\"\n  component=\"modal\"\n  variation=\"modal--danger\"\n  hasReactVersion=\"modal--default\"\n  hasVueVersion=\"modal--danger\"\n  hasAngularVersion=\"?path=/story/modal--transactional&knob-modalType=danger&knob-modalLabel=optional label&knob-modalTitle=Delete service from application&knob-modalContent=Are you sure you want to remove the Speech to Text service from the node-test app?\"\n  codepen=\"YMqWaK\"\n/>\n\n<ComponentCode\n  name=\"Input Modal\"\n  component=\"modal\"\n  variation=\"modal--input\"\n  hasReactVersion=\"modal--default\"\n  hasVueVersion=\"modal--with-input\"\n  codepen=\"MRyeVV\"></ComponentCode>\n\n## Documentation\n\n<ComponentDocs component=\"modal\"></ComponentDocs>\n","type":"Mdx","contentDigest":"51a9ccdbb60b2b759d8714876dc4e872","counter":1351,"owner":"gatsby-plugin-mdx"},"frontmatter":{"title":"Modal","description":"Modals communicate information via a secondary window and allow the user to maintain the context of a particular task. Modals interrupt user workflow by design.","tabs":["Code","Usage","Style","Accessibility"]},"exports":{},"rawBody":"---\ntitle: Modal\ndescription: Modals communicate information via a secondary window and allow the user to maintain the context of a particular task. Modals interrupt user workflow by design.\ntabs: ['Code', 'Usage', 'Style', 'Accessibility']\n---\n\n<ComponentCode\n  name=\"Transactional Modal\"\n  component=\"modal\"\n  variation=\"modal\"\n  hasReactVersion=\"modal--default\"\n  hasVueVersion=\"modal--buttons\"\n  hasAngularVersion=\"?path=/story/modal--transactional\"\n  codepen=\"QPNEOv\"\n/>\n<ComponentCode\n  name=\"Passive Modal\"\n  component=\"modal\"\n  variation=\"modal--nofooter\"\n  hasReactVersion=\"modal--default\"\n  hasVueVersion=\"modal--default\"\n  hasAngularVersion=\"?path=/story/modal--passive\"\n  codepen=\"bJpeag\"\n/>\n<ComponentCode\n  name=\"Danger Modal\"\n  component=\"modal\"\n  variation=\"modal--danger\"\n  hasReactVersion=\"modal--default\"\n  hasVueVersion=\"modal--danger\"\n  hasAngularVersion=\"?path=/story/modal--transactional&knob-modalType=danger&knob-modalLabel=optional label&knob-modalTitle=Delete service from application&knob-modalContent=Are you sure you want to remove the Speech to Text service from the node-test app?\"\n  codepen=\"YMqWaK\"\n/>\n\n<ComponentCode\n  name=\"Input Modal\"\n  component=\"modal\"\n  variation=\"modal--input\"\n  hasReactVersion=\"modal--default\"\n  hasVueVersion=\"modal--with-input\"\n  codepen=\"MRyeVV\"></ComponentCode>\n\n## Documentation\n\n<ComponentDocs component=\"modal\"></ComponentDocs>\n","fileAbsolutePath":"/zeit/3ed0734e/src/pages/components/modal/code.mdx"}}}}