Skip to content

A small set of icons for react focused on icons for changing themes in your project.

License

Notifications You must be signed in to change notification settings

jos3s/theme-icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Theme Icons

A simple icon collection for when you just need essential icons.

Installation and How to use

In your react project, use:

npm i theme-icons

-- or -- 

yarn add theme-icons

example usage:

import { Moon } from "theme-icons";

function ThemeSwitch() {
  render() {
    return <button>  <Moon /> Switch Theme? </button>
  }
}

Props

example usage

import { Moon } from "theme-icons";

function ThemeSwitch() {
  render() {
    return <button><Moon color="#C4C4C4" details="#E5E5E5" /> </button>
  }
}
Key Default Type Notes
color white string use to set main icon color
details undefined string use to set secondary color if it exists
size 22 number

Icons avaliable

  • Moon
  • Sun
  • FullMoon

License


Developed by José Ulisses