JSPM

theme-toggler-lunasolbutton

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1
    • Score
      100M100P100Q14044F
    • License MIT

    Make your app toggle between Dark , light theme using this beautifully animated button

    Package Exports

      This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (theme-toggler-lunasolbutton) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

      Readme

      LunaSolButton 🌞🌙

      LunaSolButton is a React component that toggles between light (day) and dark (night) themes with a delightful animation: a glowing sun and fluffy clouds for day, and a serene moon with twinkling stars for night. It brings a touch of magic and simplicity to your app's theme switcher!


      Features âœĻ

      • 🌞 Day Theme: Displays an animated sun and clouds for the light theme.
      • 🌙 Night Theme: Features a glowing moon and stars for the dark theme.
      • ðŸŽĻ Customizable: Easily integrates into your app's styling.
      • ðŸŠķ Lightweight: Minimal dependencies for smooth performance.
      • ⚛ïļ React Ready: Seamlessly built with React and JSX.

      Installation 🔧

      1. Add the component to your project:
        npm install lunasolbutton