{
    "componentChunkName": "component---src-templates-doc-template-js",
    "path": "/en/docs/switch",
    "result": {"data":{"current":{"fields":{"page":{"path":"/docs/switch","type":"docs","lang":"en","layout":"docs","versions":[{"lang":"en","title":"Switch","markdown":"\nFor using our customized radio, you need to use `.custom-form-input` class for input, `.gra-custom-form-label` class for label, `.gra-custom-form-control` and `.gra-switch` classes for the wrapper.\n\n<div class=\"gra-doc-s-wrapper\">\n  <div class=\"gra-custom-form-control gra-switch\">\n    <input class=\"gra-custom-form-input\" id=\"custom-switch\" type=\"checkbox\" name=\"\" />\n    <label class=\"gra-custom-form-label\" for=\"user-content-custom-switch\">Switch</label>\n  </div>\n  <div class=\"gra-custom-form-control gra-switch\">\n    <input class=\"gra-custom-form-input\" id=\"switch-disable\" type=\"checkbox\" disabled checked />\n    <label class=\"gra-custom-form-label\" for=\"user-content-switch-disable\">Switch Disabled</label>\n  </div>\n</div>\n\n```html\n<div class=\"gra-custom-form-control gra-switch\">\n  <input class=\"gra-custom-form-input\" id=\"custom-switch\" type=\"checkbox\" name=\"\" />\n  <label class=\"gra-custom-form-label\" for=\"custom-switch\">Switch</label>\n</div>\n<div class=\"gra-custom-form-control gra-switch\">\n  <input class=\"gra-custom-form-input\" id=\"switch-disable\" type=\"checkbox\" disabled checked />\n  <label class=\"gra-custom-form-label\" for=\"switch-disable\">Switch Disabled</label>\n</div>\n```\n\n## Colors\n\n<div class=\"gra-doc-s-wrapper\">\n  <div class=\"gra-custom-form-control gra-switch blue\">\n    <input class=\"gra-custom-form-input\" id=\"switch-blue\" type=\"checkbox\" />\n    <label class=\"gra-custom-form-label\" for=\"user-content-switch-blue\">Switch Blue</label>\n  </div>\n  <div class=\"gra-custom-form-control gra-switch green\">\n    <input class=\"gra-custom-form-input\" id=\"switch-green\" type=\"checkbox\" />\n    <label class=\"gra-custom-form-label\" for=\"user-content-switch-green\">Switch Green</label>\n  </div>\n  <div class=\"gra-custom-form-control gra-switch yellow\">\n    <input class=\"gra-custom-form-input\" id=\"switch-yellow\" type=\"checkbox\" />\n    <label class=\"gra-custom-form-label\" for=\"user-content-switch-yellow\">Switch Yellow</label>\n  </div>\n  <div class=\"gra-custom-form-control gra-switch red\">\n    <input class=\"gra-custom-form-input\" id=\"switch-red\" type=\"checkbox\" />\n    <label class=\"gra-custom-form-label\" for=\"user-content-switch-red\">Switch Red</label>\n  </div>\n</div>\n\n\n```html\n<div class=\"gra-custom-form-control gra-switch blue\">\n  <input class=\"gra-custom-form-input\" id=\"switch-blue\" type=\"checkbox\" />\n  <label class=\"gra-custom-form-label\" for=\"switch-blue\">Switch Blue</label>\n</div>\n<div class=\"gra-custom-form-control gra-switch green\">\n  <input class=\"gra-custom-form-input\" id=\"switch-green\" type=\"checkbox\" />\n  <label class=\"gra-custom-form-label\" for=\"switch-green\">Switch Green</label>\n</div>\n<div class=\"gra-custom-form-control gra-switch yellow\">\n  <input class=\"gra-custom-form-input\" id=\"switch-yellow\" type=\"checkbox\" />\n  <label class=\"gra-custom-form-label\" for=\"switch-yellow\">Switch Yellow</label>\n</div>\n<div class=\"gra-custom-form-control gra-switch red\">\n  <input class=\"gra-custom-form-input\" id=\"switch-red\" type=\"checkbox\" />\n  <label class=\"gra-custom-form-label\" for=\"switch-red\">Switch Red</label>\n</div>\n```","mdtype":"MDHTML","section":"switch"}]}}},"site":{"siteMetadata":{"siteUrl":"https://gralig.netlify.app"}}},"pageContext":{"relativePath":"docs/switch/en.md","language":"en","intl":{"language":"en","languages":["en","tr"],"messages":{"404.pagenotfound":"Page Not Found","404.emptyroute":"Oops! The page you are looking for has been changed or removed.","404.gotodocs":"Go To Docs","404.gotohome":"Go To Home","title":"Gralig CSS","description":"A modest, grayish CSS Library","summary":"Gralig is a modest, grayish CSS library. It can be starting point for your CSS development.","author":"@erenesto","keywords":"css, css library, clean css, grayish, frontend, ui, modest, pure, clean design, lightweight css","pages.404":"Error 404","pages.index":"Gralig CSS","pages.docs":"Gralig Documentation","sidenavLinks.docs.name":"Introduction","sidenavLinks.colors.name":"Colors","sidenavLinks.grid.name":"Grid","sidenavLinks.dark.name":"Dark Mode","sidenavLinks.vars.name":"Variables","sidenavLinks.responsive.name":"Responsive","sidenavLinks.utils.name":"Utils","sidenavLinks.typography.name":"Typography","sidenavLinks.button.name":"Button","sidenavLinks.form.name":"Form","sidenavLinks.custom-inputs.name":"Custom Inputs","sidenavLinks.checkbox.name":"Checkbox","sidenavLinks.radio.name":"Radio","sidenavLinks.switch.name":"Switch","sidenavLinks.nav.name":"Nav","sidenavLinks.navbar.name":"Navbar","sidenavLinks.footer.name":"Footer","sidenavLinks.breadcrumb.name":"Breadcrumb","sidenavLinks.card.name":"Card","sidenavLinks.alert.name":"Alert","sidenavLinks.list.name":"List","sidenavLinks.table.name":"Table","sidenavLinks.dropdown.name":"Dropdown","sidenavLinks.progress.name":"Progress","sidenavLinks.loading.name":"Loading","sidenavLinks.modal.name":"Modal","words.copy":"Copy","words.copied":"Copied!","words.docs":"Docs","words.builtwith":"Built with"},"routed":true,"originalPath":"/docs/switch","redirect":false,"defaultLanguage":"en"}}},
    "staticQueryHashes": ["63159454"]}