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.

Hamburger menu button turning into a cross v1.0.0

Use this resource to add a mobile menu button that animates when opened

New

  • 473 downloads
  • 154 likes
  • 227 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install hamburger-to-cross-menu

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 mobile menu button that animates when opened, with no extra library or JavaScript. The bar color is #f1faee in .bar span (a dark background is expected); width, height and duration (0.3s) are set in the same block. Link the #check box to your menu with the ~ selector.

Mostly picked by

Updated November 2, 2026

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • Ali-Tahmazi99_unlucky-termite-68.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

  • the mobile header of a showcase site
  • an app mockup
  • a menu that opens without a script

Not for

  • a menu that must be announced to screen readers without an added label
  • a header on a light background without changing the color

Tags

  • hamburger
  • menu
  • mobile
  • checkbox

About

You say

"Add this animated hamburger button to my site header and open the menu with it."

Three light bars that turn into a cross on click

Animation published by Ali-Tahmazi99 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

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/Ali-Tahmazi99_unlucky-termite-68.html1.1 KB
  • LICENSE1.1 KB
  • NOTICE-PALATEKIT.md0.4 KB
  • README.md0.7 KB

Origin and licence

Modified by PalateKit

Author
Ali-Tahmazi99
Source
github.com/uiverse-io/galaxy/tree/adbd2adde0a299a3956ea288fb444ec01891ca41/Checkboxes/Ali-Tahmazi99_unlucky-termite-68.html
Licence
MIT

Notice

Version modifiée de « Ali-Tahmazi99_unlucky-termite-68 » (Ali-Tahmazi99, 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. The bar color is #f1faee in .bar span (a dark background is expected); width, height and duration (0.3s) are set in the same block. Link the #check box to your menu with the ~ selector.