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.

2 Responses to “React Native Lightbulb Toggle”

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>