Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Square checkbox with a sun and moon icon v1.0.0

Use this resource to add a checkbox illustrated by an icon that changes state

New

  • 598 downloads
  • 186 likes
  • 191 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install sun-moon-icon-checkbox

First time: connect the CLI with

npx --yes palatekit@latest login

The agent copies the supplied HTML and CSS into your page, then adapts them to your content and colors. You get a checkbox illustrated by an icon that changes state, with no extra library or JavaScript (apart from Tailwind CSS). Colors are Tailwind classes (stroke-yellow-500, stroke-sky-800) and hex shadows (#eab92d, #075985) to change. Replace the two SVGs for other icons.

Mostly picked by

Updated November 2, 2026

Details

Generates with
Your agent's model
Uses
  • Tailwind CSS
Licence
MIT

Similar resources

View all

What you get

  • Javierrocadev_selfish-mule-45.html: the HTML and CSS of the element, ready to copy
  • README.md: instructions to integrate it and change the colors
  • A self-contained element, no external file

Good fit for

  • a light and dark theme switch
  • a two-state preference with an icon
  • a site built with Tailwind

Not for

  • a project without Tailwind CSS
  • a checkbox in a long form with no relevant icon

Tags

  • checkbox
  • tailwind
  • icon
  • theme

About

You say

"Use this checkbox for a light and dark theme switch in my site footer."

A square box with a yellow sun icon that becomes a blue moon once checked

Animation published by Javierrocadev on Uiverse.io under the MIT license, documented by PalateKit.

Show more

Prerequisites

You bring
The page or site to place the element in and Your colors and texts
Dependencies
Tailwind CSS

How to use it

  1. Give the agent the element's HTML file and the page to edit.
  2. Specify your colors, texts and where it should appear.
  3. Open the page in a browser and check the look and the hover state.

Content preview

Files

  • Checkboxes/Javierrocadev_selfish-mule-45.html1.8 KB
  • LICENSE1.1 KB
  • NOTICE-PALATEKIT.md0.4 KB
  • README.md0.7 KB

Origin and licence

Modified by PalateKit

Author
Javierrocadev
Source
github.com/uiverse-io/galaxy/tree/adbd2adde0a299a3956ea288fb444ec01891ca41/Checkboxes/Javierrocadev_selfish-mule-45.html
Licence
MIT

Notice

Version modifiée de « Javierrocadev_selfish-mule-45 » (Javierrocadev, MIT) : traduction française et fiche par PalateKit.

User reviews

–

No ratings yet

Loading reviews…

Delete your review?

Your rating and comment will be removed from the page.

Frequently asked questions

How do I add it to my site?

Copy the HTML where the element should appear and the style block into your stylesheet, or ask the agent to do it.

Can I change the colors and texts?

Yes. Colors are Tailwind classes (stroke-yellow-500, stroke-sky-800) and hex shadows (#eab92d, #075985) to change. Replace the two SVGs for other icons.