Sign up and get 15% off every plan.

Sign up
Menu
SwitchesHTML and CSSMIT licence With paid plans

Moon switch

A black switch with a moon, for dark mode.

How to use it

  1. Copy the code below.
  2. Paste the HTML where you want the piece.
  3. Put the <style> part in your page's head, or its rules in your CSS file.
  4. In Webflow or Framer, paste the whole file into an Embed block.
  5. Keep the credit at the top and the licence at the foot.

The code

This comes with paid plans

The code for every piece comes with paid plans, along with the rest of the AI toolkit. The first of each kind is free.

Changed for this site: Colours moved to the Figma palette.