React Native Lightbulb Toggle

Recently created a simple toggle using React Native and thought I’d share. The example uses Native Base & Material Icons, however any alternative should work See Snack Code | GitHub


  1. Clone Repo (or copy code/dependencies).
  2. Run NPM Install or Yarn Add to install dependencies.


  • Any alternative to Native Base should work, however I have not tested this. You should be able to test easily by editing here.
  • Any icons should work as well, though matching shape and size will look best.