Getting Started
What is ReactHalfmoon?
React components for Halfmoon, a front-end framework with a built-in dark mode.
Installation
1. Install the package
npm i reacthalfmoon
If you see lot of vulnerabilities just run
npm audit fix
2. Add the css file
link
Using In public/index.html
link the css file
import
Or using In App.css
import the css file
;
Usage
Button Component
;; { return <Button color="primary">Primary</Button> }
Darkmode
;; { const darkmode setDarkmode = ; return <DarkmodeSwitch checked=darkmode toggle={} /> }