Skip to main content
Version: 5.1

Themes

Change the theme#

Currently LIGHT and DARK themes are available.

  • DEFAULT
  • LIGHT
  • DARK
theme="DARK"
TypeDefault
stringLIGHT

Change the default theme#

DropDownPicker.setTheme("DARK");

Add a theme#

Please see the LIGHT theme styles as a starting point.

const myTheme = require("./my-theme");
DropDownPicker.addTheme("MyThemeName", myTheme);
DropDownPicker.setTheme("MyThemeName");