react-styled-kit - v4.0.3
    Preparing search index...

    Variable StyledSwitchModeConst

    StyledSwitchMode: StyledComponent<
        SwitchProps & MUIStyledCommonProps<Theme>,
        {},
        {},
    > = ...

    Styled theme mode switch component

    StyledSwitchMode

    A customized switch component for toggling between light and dark themes with:

    • Dynamic SVG icons representing sun (light) and moon (dark)
    • Theme-aware colors that adapt to current mode
    • Smooth transition animations
    • Responsive sizing

    React props

    Material-UI theme object

    <StyledSwitchMode
    checked={darkMode}
    onChange={toggleTheme}
    inputProps={{ 'aria-label': 'toggle dark mode' }}
    />