--- title: "Toggle" slug: toggle category: component type: examples version: 20.0.0 tokens: 277 source: https://ovh.github.io/design-system/v20.0.0/llms/react-components-toggle--examples.txt --- # Toggle ## Default ```tsx ``` ## Disabled ```tsx ``` ## Invalid ```tsx ``` ## With Label ```tsx Enable dark mode ``` ## With Labels ```tsx ``` ## In Form Field ```tsx <> Notification settings: General Information Promotions ``` ## Accessibility Label ```tsx Enable dark mode ``` ## Accessibility Aria Label ```tsx Dark mode ```