Efferd

Menu Toggle Icon

Buttons 747

About

Animated menu toggle icon morphing smoothly between hamburger and close states.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Menu Toggle Icon to your project and fits it to your theme.

Code

How Menu Toggle Icon is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import React from 'react';
import { MenuToggleIcon } from "@/components/ui/menu-toggle-icon";

export default function DemoOne() {

  const [open, setOpen] = React.useState(false);

	return (
		<button onClick={() => setOpen(!open)}>
			<MenuToggleIcon open={open} className="size-20" duration={500} />
		</button>
	);
}

More by Efferd

View all
  • Testimonials Columns

    Testimonials Columns

    7.1K
  • Zoom Parallax

    Zoom Parallax

    5.4K
  • Dotted Surface

    Dotted Surface

    3.5K
  • Footer Section

    Footer Section

    2.7K
  • Grid Feature Cards

    Grid Feature Cards

    1.9K
  • Logo Cloud 2

    Logo Cloud 2

    1.7K
  • Header 3

    Header 3

    1.6K
  • Logo Cloud 3

    Logo Cloud 3

    1.5K

More in Buttons

View all
  • Button

    Button

    12
  • Texture Button

    Texture Button

    105
  • Astryx Button Group

    Astryx Button Group

    24
  • HeroUI Button Group

    HeroUI Button Group

    60
  • Notification Button

    Notification Button

    115
  • Split Button

    Split Button

    15
  • Native Button

    Native Button

    12
  • Button

    Button

    1