Name Description Size Coverage
moz-toggle.css 3572 -
moz-toggle.figma.ts 1912 -
moz-toggle.mjs A simple toggle element that can be used to switch between two states. @tagname moz-toggle @property {boolean} pressed - Whether or not the element is pressed. @property {boolean} disabled - Whether or not the element is disabled. @property {string} label - The label text. @property {string} description - The description text. @property {string} ariaLabel - The aria-label text when there is no visible label. @property {string} ariaDescription - The aria-description text when there is no visible description. @slot support-link - Used to append a moz-support-link to the description. @fires toggle Custom event indicating that the toggle's pressed state has changed. 2417 100 %
moz-toggle.stories.mjs 4971 -
moz-toggle.tokens.css DO NOT EDIT this file directly, instead modify moz-toggle.tokens.json and run `mach buildtokens` to see your changes. 2677 -
moz-toggle.tokens.json 2413 -
README.stories.md 3891 -