Topic: mdb-switch does not support colors

Deepshore free asked 5 years ago

Expected behavior When adding color="primary" to mdb-switch it should change the active color to primary.

Actual behavior The active color stays at default, when adding color stylings to mdb-switch.

Magdalena Dembna staff answered 5 years ago

Hi, As for now we don't have a property controlling switch color. All the props are listed here: in the API tab. Kind regards, Magdalena

msanpedro priority commented 2 years ago

Has this been addressed? How can this not be supported?

Marcin Luczak staff commented 2 years ago


This topic must have been lost in the process of development. We've discussed it today and we've added it to the feature request list. Please check our changelogs for any update on this.

Keep coding, Marcin

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.1.1
  • Device: Lenovo
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: Yes
  • Provided link: No